• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Context like thing when we go for Clustering...

 
Manohar Karamballi
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All!
I am using servlet context for tracking the Sessions of Users by storing session info in that. (Say user can't access more than 3 sessions at a time ). This worked fine as long as i worked with a single server processing requests. Now i have Server Clustering and request can be directed to any of the Servers and my idea of Servlet Context fails.
So is there any alternative approach to handle this situation?
That is some sort of object is to be created to store session info and it is to be accessed by all of the servers in a Cluster.
Efficiency is also a matter of concern but first of all alternative approach is required.
Any suugestions in this regard is appreciable.
Regards & TIA
Manohar
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you'll have to read the docs specific to whatever brand of appserver you're running.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic