This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes CMP Life CyCle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CMP Life CyCle" Watch "CMP Life CyCle" New topic
Author

CMP Life CyCle

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
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

Joined: Aug 27, 2001
Posts: 94
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"


Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CMP Life CyCle
 
Similar Threads
When an EJBObject is created
At what stage, the life cycle of a CMP bean can be assumed to be started ?
Mock Exam Question
ejb life cycle
Question from SUN's ejb quiz