This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Server Session Management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Server Session Management" Watch "Server Session Management" New topic

Server Session Management

Cory Wilkerson
Ranch Hand

Joined: Aug 14, 2001
Posts: 84
Can anyone comment as to how application servers traditionally maintain state? Is it something as simple as some in memory Map instance associating a key with perhaps another Map? And if so, what about distributed sessions...I guess either a central in-memory mechanism maintaining state across all servers in a cluster (a database even)? Just curious as to whether or not anyone out there has been on a team *writing* an application server and how state was managed.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
I described the older (still used, but no longer the only) mechanism in WebSphere in this article.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Have you checked out Aspose?
subject: Server Session Management
It's not a secret anymore!