Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Bean Serialization & Passivation

 
Mansur Khan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to answer this simple question after a month of SCBCD preparation (Please don't post negative responses :roll: ).

Some one please answer

Which statement about EJB 2.0 session bean passivation is true?

A. The container should use Java Serialization to passivate the bean
B. The container must be able to save and restore a bean's reference to the java:comp/env JNDI context across the bean's activation and passivation
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A -> fasle , the specification doesnot guarantee this.The vendor might do something similar.

B -> true , the specification guarantee that the container implementor / vendor should take care of this object during passivation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic