File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: Server Session Management
It's not a secret anymore!