Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionActivationListener when session moves from one vm to another.

 
Joy Vergis
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic