C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
Session Migration in Java ?
Prabhu Raja
14y
8.1k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
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).
Aarti
14y
0
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.
Prabhu Raja
14y
0
Message