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 Mock Exam Question 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 "Mock Exam Question" Watch "Mock Exam Question" New topic
Author

Mock Exam Question

Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

Following is the Practice exam question in j2eecertificate.com

Q. Which of the following statement are correct for distributable web application ? (check all corrcet answer)

1. You can not rely on the ServletContext to share data.
2. You can not rely on ServletConfig for distributaed web application
3. Each JVM has a seperate instance of a Servlet Context.
4. HttpSession can be shared accross distributable web-applications

The answers given are 1,3,4

Why 4 is correct. The HttpSession is live only in on JVM at a time. The sesions can be migarted , but only one instance is available a a point of time. The How can it share accross the web-application. Also the Sessions attributes are not thread safe.

Any clue ?

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mock Exam Question
 
Similar Threads
distributable in exam ?
distributed application
j2ee certificate ques
Mock Exam Queries from JDiscuss..
need help on question from j2eecertificate