Chapter 8. DB2 UDB V8 and WAS V5 integrated performance 313
Web site grows, and persistent session management becomes necessary, the
transition between local and persistent management occurs transparently to the
application if the sessions only hold serialized objects. If not, a switch to
persistent session management requires coding changes to make the session
contents serialized.
However, the HttpSession can also contain the following J2EE objects, which are
not serializable:
javax.ejb.EJBObject
javax.ejb.EJBHome
javax.naming.Context
javax.transaction.UserTransaction
The WebSphere session manager works around the problem of serializing these
objects.
Persistent session management does not impact the session API, and Web
applications ...