Originally posted by -Sanju Thomas-:
This is true in EntiryBean's case, But false for Stateful SessionBean.
Thank you Sanju.
Found this on page 169 of ejb spec.
The container can choose to passivate an entity bean instance within a transaction. To passivate an instance, the container first invokes the ejbStore method to allow the instance to prepare itself for the synchronization of the database state with the instance�s state, and then the container invokes the ejbPassivate method to return the instance to the pooled state.
Regards,
Leena