Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CMP Life CyCle