There is a good deal of discussion on this at
http://www.theserverside.com/patterns/thread.jsp?thread_id=625#23858
I think the session facade pattern is proving more and more useful
especially with the local reference addition.
>From: Sanjay Saluja <[EMAIL PROTECTED]>
>Reply-To: Sanjay Saluja <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Why Shd i lookup Entity Bean through Session Bean
>Date: Thu, 21 Jun 2001 23:40:58 -0700
>
>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
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
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".