Subject: javax.ejb.SessionContext 2005-10-20 - By Tim Wood
Back At 09:12 PM 10/19/05, you wrote: >"urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office :office" xmlns:w = "urn:schemas-microsoft-com:office:word"> >Hi kumar, > >But when a stateful session bean instance is persisted, if any of its non transient fields contain a reference to the SessionContext, that has to written to persistent storage. Thats what the spec says. >So why is SessionContext not made serializable itself? >If it *only* to give the container vendor freedom to choose his custom object persistence mechanism?
This would suggest it's an error to omit declaring the SessionContext member variable transient? TW
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|