File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes shared objects in distributed applications 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 "shared objects in distributed applications" Watch "shared objects in distributed applications" New topic
Author

shared objects in distributed applications

Sam Cala
Ranch Hand

Joined: Jan 03, 2001
Posts: 147
Hi, Can someone let me know what are the objects that can be shared between different JVMs while working in a distributed application ? Thanks.


Best wishes,
Ricardo Cortes
Ranch Hand

Joined: Jan 23, 2002
Posts: 140
Any object in put in the session. Use the sessionWillActive and sessionDidActive methods to track session migration in a distributed environment.
ServletContext and ServletRequest are not valid stores in a distributed environment.
[ May 13, 2002: Message edited by: Ricardo Cortes ]

Sun Certified J2EE Architect for the J2EE Platform (Part 1)<br />Sun Certified Web Component Developer for the J2EE Platform<br />Sun Certified Programmer for the Java 2 Platform
Sam Cala
Ranch Hand

Joined: Jan 03, 2001
Posts: 147
just to make a correction, its sessionWillPassivate & sessionDidActivate
Ricardo Cortes
Ranch Hand

Joined: Jan 23, 2002
Posts: 140
Ooops. My memory is fading already...
 
Consider Paul's rocket mass heater.
 
subject: shared objects in distributed applications
 
Similar Threads
Distributed-Shared-memory
ServletContext and Session
why static final objects should not be used in EJB s?
Difference. between ServletContext and Session Attributes
stack memory