"A.Dharani Babu" wrote:
>
> > hi folks,
> >
> >
> > I am in a dilemma whether to go for JDBC from the session bean
> > directly or use an entity bean for querying the database . Can some one
> tell
> > me which I should use and when should i go for either of them and also
> which
> > will be more efficient performance-wise.
>
> just for querying purpose, its better to use session bean instead of entity
> bean. entity beans creates as many no instances as the noof records, so will
> be a performance issue.
Not entirely true. Most instances are persisted to the database. The ejb
server creates a pool of entity instances.
sven
--
======================================================================================
Sven van 't Veer http://www.cachoeiro.net
Java Developer [EMAIL PROTECTED]
======================================================================================
===========================================================================
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".