Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubts in distributable environment

 
naresh govindaswmay
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I migrated session from one JVM to another JVM.Is we have separate servletContext object per JVM.I have a confusion in that area please anybody clear this.
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Context attributes are local to the JVM in which they were created. That's why you should not use ServletContext attributes to share information between servlets. Refer to SRV.3.4.1 in the spec for more info on context attributes in a distributed container.
 
Sandeep Krish
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3.2 says "In a distributed container, the default ServletContext is non-distributable and
must only exist in one JVM.". So can I assume destributed application = destributed container?
[ November 27, 2007: Message edited by: Sandeep Krish ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic