- Life begins with creation of the instance
- Only the container can do this
- Oddly enough this state is referred to as "does not exist"
- setEntityContext() is called
- Bean moves into pooled state
- Bean does not have a particular identity (primary key)
- ejbActive() or ejbCreate() called
- Bean moves into ready state
- Bean now has an identity
- Only this state allows business methods
- ejbLoad() and ejbStore() called to synchronize bean state with DB as required
- ejbPassivate() or ejbRemove() called
- Bean moves back to pooled state
|