I'm a little bit confused.
According to the
Servlet 2.4 spec, SRV 7.7.2 page 60, the process of session migration will be handled by container-specific facilities. While according to HFS&J book, there is a certain level of assurance that the session is not replicated, and that each request will "somehow" try to find which VM is holding its session.
OTOH, according to this implementation by Tomcat/WADI
Tomcat Clustering How-To
WADI - Frequenty Asked Questions the session is actually being replicated.
I can't find any implementation information by WebLogic, OC4J or Websphere. I'm assuming that
JBoss uses the same implementation as Tomcat & WADI.
Which one is the correct behavior? Is HFS&J wrong? Is HFS&J making its own assumption on how the implementation would be like, based on the Servlet 2.4 spec? Is Tomcat/WADI implementation also a valid Servlet 2.4 spec implementation?
- eric