This depends on for what purpose you are using. If your query fetches larger
no of ejbs to just diplay data then you can use DAO to get the data. EJBs
are overhead for such scenario.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cheers
Ashwani Kalra
Sr. Mem. Dev. Staff
Aithent Technologies
India
http://www.geocities.com/ashwani_kalra/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Amarnath N
Sent: Monday, January 21, 2002 9:30 PM
To: [EMAIL PROTECTED]
Subject: getting homes


hi all,

    I am using a state less session bean, which intern calls many entity
beans to store the data. In each method, i lookup each entity bean home. is
it good way to do..or else i get all the home references...
    please suggest..

regards
amar

===========================================================================
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