Prabhu Raja
Session Migration in Java ?
Posted by Prabhu Raja in Languages | Java on Nov 10, 2011
0
Do you know the answer for this question? Post it below.
Guest


in addition to below answer:-
Session Migration:

In Session Migration session is passivated in one VM and activated in another VM within a distributed app. In clustered environiments, load-balancing container will decide to send the request to which Container the request has to be sent for processing.
There is only one HttpSession object for the entire web application regardles of how many VM's the application is distributed across and that session object move from one Virtual Machine to the other. These all will be take care by the HttpSessionActivationListener. HttpSessionActivationListener is an interface which consists of sessionDidActivate(HttpSessionEvent) sessionWillPassivate(HttpSessionEvent).


 

Posted by Aarti on Nov 16, 2011

Session Migration is a mechanism of moving the session from one server to another in case of server failure. Session Migration can be implemented by:
1) Persisting the session into database
2) Storing the session in-memory on multiple servers.

Posted by Prabhu Raja on Nov 10, 2011
Sponsored by

Become a Sponsor
PREMIUM SPONSORS
Sponsored by
Nevron Gauge for SharePoint
Become a Sponsor
PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | REPORT ABUSE © 2011 C# Corner. All contents are copyright of their authors.