This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
subject: Server Session Management