File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

distributed across multiple JVM

 
Micheal John
Ranch Hand
Posts: 344
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


What are the correct answers?

If the web-application is distributed across the multiple JVM, what will be status for ServletContext and session object...?
 
Stella Kim
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the web-application is distributed across TWO VMs :

Everything except the 'HttpSession' is duplicated on the other VM.
'HttpSession' objects(including their attributes) 'move' from one VM to another.
'HttpSession' live in only ONE place at any given moment, so same session ID for a given web app will NEVER appear in two VMs at the same time.

<HF book on page 255>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic