It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes session migration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "session migration" Watch "session migration" New topic
Author

session migration

devika cha
Ranch Hand

Joined: Jun 28, 2004
Posts: 31
In HFSJ book pg 255 it says at anytime same session id for web app will NEVER appearin2 VM's at same time ,or the sessions are not duplicated.

but on pg256-257 the migration action shows the same id on the two different VM's

can anybody explain?
Eshu San
Greenhorn

Joined: Sep 30, 2004
Posts: 18
It means that the session IDs exist either in one of the two JVM's(if the application is distributed) at a given point of time.They can never exist in 2 JVMs at the same time.This also implies that there can be only one session with a given session id and no duplicates can ever be made from session objects.
devika cha
Ranch Hand

Joined: Jun 28, 2004
Posts: 31
so on the second VM after the migration does the session change or remains the same , as shown in the diagrams in the book
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: session migration
 
Similar Threads
Session migration
doubt in Sessin Migration
Question regarding Session Migration
session ID changes
Session in new browser window