Best Practice: Storing objects in HTTP sessions
 Technote (FAQ)
 
Problem
This best practice makes recommendations on storing objects in HTTP sessions and applies to J2EE applications.
 
Solution
It is not good practice to store large object graphs in HttpSession. This can severely affect the performance of a WebSphere application.

Look for alternatives like an application-specific JDBC™ framework that can augment or replace HttpSession for storing servlet state data. Application design for performance and scalability requires consideration of servlet state data.

If your application requires a large amount of servlet data, consider application-specific alternatives that either augment or replace the use of HttpSession.

 
Related information
Best Practice: Storing Objects in HTTP Sessions
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Sessions and Session Management
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1053989
IBM Group: Software Group
Modified date: Sep 16, 2004