Ryan, If your web-app is marked as 'distributable', you must ensure that all objects placed on tyhe HTTP session are serializable. Local interfaces are not required to be serializable. I recommend storing the primary key instead.
Ryan LeCompte wrote: > 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 > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > http://www.louisiana.edu/~rml7669 > > > -- _______________________________________________________________________________ Evan Ireland Sybase EAServer Engineering [EMAIL PROTECTED] Wellington, New Zealand +64 4 934-5856 =========================================================================== 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".
