Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session of distributed web application

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming that a web application is marked as distributed, which of the following statements are correct? Select 2 correct options.

1 All requests that belong to a session are handled by one JVM at a time.

2 HttpSession may not be migrated across the JVMs.

3 HttpSession may be migrated across the JVMs.

4 If an HttpSession is migrated, Java's Serialization mechanism is used to do so.

5 The attributes of a session can never be aware of any migration of the session.

author's answer is 1 and 3. 4 is wrong answer.
my question is how the HttpSession moves from one JVM to another?
thanks for help
 
Hafizur Rahman
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there is no obligation to use Java serialization for session persistence.
--------------
Hafizur Rahman
SCJP2(94%)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic