Hi all, I have the following question regarding EJB passivation. What is saved during EJB Passivation? 1. UserTransaction 2. EJBHome reference 3. EJBObject Reference 4. Naming Context 5. Transient variables Thanks in advance, manu
Ok. I was a bit too simplistic with my words. Entity beans are passivated as well but it means a different thing for entity beans than for stateful session beans. Passivating an entity bean means that the EJB container is done with the instance and it is going back to being an anonymous member of the "free pool". Activation on the other hand is taking an anonymous member and giving it an identity (unique record in the database). Note that there is no state to persist here, only the data which is handled by ejbLoad() and ejbStore().