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

Mock exam

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What can bring an entity bean instance into the ready state?
POSSIBLE ANSWERS:
* Activation (ANSWERED) (CORRECT)
* Passivation
* ejbCreate/ejbPostCreate (ANSWERED) (CORRECT)
* ejbLoad (CORRECT)
* a finder method
* setEntityContext
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I agree with you here, the ejbLoad should not be correct, as it can only be called when you are already in the 'Ready' state, thus strictly speaking it cannot 'bring' you there , because you already are!
Correct answers should be ejbCreate/ejbPostCreate and ejbActivate
Eduard
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic