This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Life cycle of Java Bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Life cycle of Java Bean?" Watch "Life cycle of Java Bean?" New topic
Author

Life cycle of Java Bean?

Rd Dari
Ranch Hand

Joined: Feb 22, 2010
Posts: 202

Hi all Ranchers,

I am confused in life cycle of EJB (Stateless Session Bean and Statefull Session Bean)and life cylce of Java Bean. Are they same of not?

if not then what is the life cycle of Java Bean?

Thanks in advanced!!
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

EJB beans are under the control of EJB container.
Ordinary JavaBean life cycle is like any other java object.
for more details, it is better to move this post to EJB forum?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Life cycle of Java Bean?
 
Similar Threads
@EJB (basic) questions
PART-I QUESTION
What is the life cycle of Bean instances?
Session Bean pooling
does ejbRemove() ever called on stateful bean?