This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes distributable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "distributable" Watch "distributable" New topic
Author

distributable

Richard Rex
Ranch Hand

Joined: Sep 19, 2005
Posts: 100
The Squeaky Beans Inc. shopping application was initially developed for a nondistributed environment. The company recently purchased the Acme Application Server, which supports distributed HttpSession objects. When deploying the application to the server, the deployer marks it as distributable in the web application deployment descriptor to take advantage of this feature. Given this scenario, which two must be true? Choose two.

A. The J2EE web container must support migration of objects that implement Serializable.
B. The J2EE web container must use the native JVM Serialization mechanism for distributing HttpSession objects.
C. As per the specification, the J2EE web container ensures that distributed HttpSession objects will be stored in a database.
D. Storing references to Enterprise JavaBeans components in the HttpSession object might NOT be supported by J2EE web containers.


"If you fail to plan, you plan to fail."<br /> <br />Chad<br />SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3<br />SCDJWS (next)
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

My Answers are A and D.

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
singh santosh
Ranch Hand

Joined: Jan 13, 2006
Posts: 136
hi ,
i would aslo go for A & D.
B. The J2EE web container must use the native JVM Serialization mechanism for distributing HttpSession objects.
C. As per the specification, the J2EE web container ensures that distributed HttpSession objects will be stored in a database.


option B:is not correct as J2ee container can use but it is not compulsary
option C:is not correct as session object can be stored into database programticaly but this is not ensured by the container

regards

-santosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: distributable
 
Similar Threads
Question about Distrubatble Web Application
Design patterns
Mock Exam Doubts
Distributed Web application question
Mock Question on Distributed Web App