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 session of distributed web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "session of distributed web application " Watch "session of distributed web application " New topic
Author

session of distributed web application

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
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


SCJP<br />SCWCD<br />SCEA
Hafizur Rahman
Ranch Hand

Joined: Sep 05, 2002
Posts: 98
I think there is no obligation to use Java serialization for session persistence.
--------------
Hafizur Rahman
SCJP2(94%)


SCJP 2(94%), SCBCD 5.0(86%), SCDJWS(86%), SCEA 5 (I-73%, II/III-88%)
The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. - Alvin Toffler
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session of distributed web application