228 DB2 UDB V8 and WebSphere V5 Performance Tuning and Operations Guide
In order to reduce the amount of data stored in the session, avoid storing large,
complex object graphs in it. In some cases it may be beneficial to store objects in
the session, although they can be recreated or retrieved to avoid the overhead of
doing so. In these cases, consideration should be given to making these
attributes transient. If this is done, you have to ensure that the application code
will handle the transient attributes having null values. Alternatively, the
readObject() method of the object could be overwritten to recreate the transient
data when the object is deserialized.
The session object can be garbage collected after it has been invalidated. Thi ...