aspose file tools*
The moose likes Servlets and the fly likes HttpSessionActivationListener when session moves from one vm to another. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSessionActivationListener when session moves from one vm to another." Watch "HttpSessionActivationListener when session moves from one vm to another." New topic
Author

HttpSessionActivationListener when session moves from one vm to another.

Joy Vergis
Ranch Hand

Joined: Sep 14, 2009
Posts: 45
Hi,
I am reading a tutorial on servlets wherein they are providing example for HttpSessionActivationListener listeners. The description is as follows:


Attribute class (listening for events that affect IT)
This listeneer lets an attribute keep track of events that might be importanat to the attribute itself-when it's added to or removed from a session, and when the session migrates from one VM to another.


i want to try out the same. I have eclipse helio installed with java1.4 and java 7 and tomcat 5.0.28.

Migration across VM on the same machine. how can i try it on the same machine running winxp.


Thanks.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
The HttpSessionActivationListener only has any relevance when a session is part of a web application in a distributed environment. So, not sure how you will test this with your configuration.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpSessionActivationListener when session moves from one vm to another.