File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Life cycle of Java Bean?" Watch "Life cycle of Java Bean?" New topic

Life cycle of Java Bean?

Rd Dari
Ranch Hand

Joined: Feb 22, 2010
Posts: 211

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:
subject: Life cycle of Java Bean?
It's not a secret anymore!