Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mock exam  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!