• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about SessionMigration?

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had question about what happens to ServletContext and their attributes when request2 for ServletA ends up in VM2.

In book it is given that everything except session is duplicated to VM2.What does this mean?What does this everything include?Does this mean Container copies everything(except session) to VM2?

I am curious to know clearly about what happens when container directs request1 to VM1 and request2 to VM2 for same web app?

Thanks
Veena
 
Alejandro Gamboa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Veena Point:
I had question about what happens to ServletContext and their attributes when request2 for ServletA ends up in VM2.

In book it is given that everything except session is duplicated to VM2.What does this mean?What does this everything include?Does this mean Container copies everything(except session) to VM2?

I am curious to know clearly about what happens when container directs request1 to VM1 and request2 to VM2 for same web app?

Thanks
Veena



The specification says about this topic that every container is responsible for session replication. Therefore the session replication can change from one containet to another.

Alejandro Gamboa Colombia
 
get schwifty. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!