Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP Life CyCle

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At what stage, the life cycle of a CMP bean can be assumed to be
started ?
(a) before ejbCreate() method is executed
(b) after ejbCreate() method is executed
(c) in postCreate() method
(d) after executing ejbStore()
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean?

The lifecycle of an entity bean consists of several phases like
"not exist", "pooled", "method ready".
In general, the lifecycle starts after the container invokes "newInstance"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic