|
Hello,
I have a question. Is it advisable that if you are
using local references for everything (session beans and cmp entity beans --
this project does not use remote interfaces at all), that as a result of
executing a business logic method on a session it returns a Collection of, let's
say, UserLocal objects. This Collection is then placed in the HttpSession object
so that the JSP can display information regarding each UserLocal bean. Do I have
to create value objects even though I am not using remote interfaces so that
these objects can be passed off to the JSP and store in the HttpSession object,
or is it okay to do it the way I'm doing it now if I am not modifying the
UserLocal objects (calling set methods) from the JSP, but only inside of the
business methods in the session beans (using the session facade design
pattern).
Any suggestions greatly appreciated..
Thanks,
Ryan LeCompte
|
- Re: Storing local entity bean references in HttpSession Ryan LeCompte
