aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doubts in distributable environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubts in distributable environment" Watch "doubts in distributable environment" New topic
Author

doubts in distributable environment

naresh govindaswmay
Ranch Hand

Joined: Aug 15, 2007
Posts: 90
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.


Thanks and Regards<br />Naresh govindaswamy
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
Sandeep Krish
Ranch Hand

Joined: Jan 02, 2007
Posts: 58
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
 
subject: doubts in distributable environment