> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ashwani Kalra
> 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.
And one day you decide to change your database schema or the way your Entity
bean maps to it and suddenly your JSP pages break. Not good.
No, you are doing the right thing, appservers are optimized for the
"bookkeeping" that Ashwani describes and the Session facade pattern allows
you to cleanly decouple your front-end from your back-end.
Don't optimize prematurely.
--
Cedric
===========================================================================
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".