Hi,
Yes you are increasing the burden on App server as it has to do book keeping
for them. Either you can directly call it from jsp. Or another preffered
way is to use java beans to call your entity beans.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warm Regards
Ashwani Kalra
Sr. Member Dev. Staff
Aithent Technologies(P) Ltd.
email : [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Saluja
Sent: Friday, June 22, 2001 12:11 PM
To: [EMAIL PROTECTED]
Subject: Why Shd i lookup Entity Bean through Session Bean
Hi All
I have a simple architecture where in my JSP has to insert a record in DB.
I do a lookup on Session Bean first in my JSP.
I do lookup on EntityBean in my session bean.
I insert a record through EB.
In this whole flow, i am adding one more layer of overhead by using Session
Bean.
I can directly lookup for EB in my JSP and enter a record.
Is there any advantage of using SessionBean in between.
Thanks
Sanjay Saluja
===========================================================================
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".