File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet Context like thing when we go for Clustering... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Context like thing when we go for Clustering..." Watch "Servlet Context like thing when we go for Clustering..." New topic
Author

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

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
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

Joined: Jun 25, 2001
Posts: 16012
    
  19

I think you'll have to read the docs specific to whatever brand of appserver you're running.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Context like thing when we go for Clustering...