There is no need for a session bean in this scenario. This is just what the Pet Store does for example. Also I don't see why it wouldn't be reuseable to any other servers if it is well designed (and documented). Finally you could wrap it in a Custom Tag so it could be reused by non Java programers as well.
Cheers Lawrence -----Original Message----- From: Mike Duffy [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15. November 2001 11:42 To: [EMAIL PROTECTED] Subject: Please Clarify the Need for Session Beans If I am just making simple reads from a data base to display information in a JSP (a user profile for example), why should I use a session EJB? Why not just make the reads in a data access layer, put an object in the request and call the object in the JSP. I understand that I would not have a "reusable component" that could be deployed to other servers. But what are the other tradeoffs and advantages? Thanks! __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.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". Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER =========================================================================== 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".
