When making comparisons like this, one has to be specific about what they
are comparing.  I think the following are fair statements:

"An object graph comprised of entity beans will ordinarily be slightly
slower at CRUD operations than the same object graph implemented using
hand-written and tuned SQL"

"A remote call to an entity bean will have the same performance overhead as
a remote call to another type of server, all other things constant"

"Entity bean development is faster than developing hand-written SQL for O/R
mapping"

When someone makes a broad statement such as "entity beans are slow" it
doesn't say very much.  Of course, the following statements are probably
also worth noting:

"From a performance and development-time point of view, other O/R frameworks
would be expected to provide similar performance"

and

"Using entity beans allows the changing of application servers (and hence
EJB implementations) without a complete code rewrite"

my 2c

cheers
dim

----- Original Message -----
From: "Vikramjit Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 4:57 PM
Subject: Re: the truth about entity beans


> > -----Original Message-----
> > From: Prabhakar Goel [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 09, 2002 11:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: the truth about entity beans
> >
> >
> > Entity bean are something which actually makes sense when you
> > are having
> > transactions. During transaction they are really fast and use less
> > resources as compared to an RDBMS counter part where every Transaction
> > requires significant resource allocation etc.
> > So for a programmer they are a programmatic load balancing mechanism
> > between Application Server & RDBMS for Transactions.
>
> I agree with what you say except that Entity beans are faster than RDBMS.
> The transactions if handled at the database level shall be fast compared
to
> Enitity beans, since they are across network, and network invocations are
> costly and time consuming.
>
> >
> > Please correct me if i quoted something wrong ;-)
> >
> > ***********************
> > enJoy Life with Technology
> > ***********************
> > pirbhu ;-) "Convince, Confuse, Corrupt"
> >
> > Prabhakar Goel
> > JIL Information Technology Ltd.
> >
> > ==============================================================
> > =============
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body
> > of the message "signoff EJB-INTEREST".  For general help,
> > send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
> Disclaimer: This e-mail message along with any attachments is intended
only
> for the addressee and may contain confidential and privileged information
of
> GTL Limited. If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly prohibited. If you have received this message by
> error, please notify us immediately, return the original mail to the
sender
> and delete the message from your system.
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to