• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Question on Distributed Web App

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javaranch.com shopping application was initially developed for a nondistributed environment. The company recently purchased the Supreme 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.


I dont understand why there are 2 answers (just A is correct)
 
vijaya bacina
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A is correct... Is the second answer D???
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sense. which one is the 2nd answer then ?
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so, what's the second answer??? Alec Lee....???
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at option B and C. Definitely they are not correct. If at all there is a another answer then it should be option D. We can take advantage of the fact that we will be provided with the number of correct answers in the real exam.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic