• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HttpSessionActivationListener when session moves from one vm to another.

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic