1. If the bean does not meet the requirements for passivation at the end of ejbPassivate method - What will happen? Is it the field which is not meeting the requirements will be simply ignored and the bean is passivated? OR There is a possibility that the container may destroy the bean itself.
-- The container destroys the bean.
2. In one of the material, i saw that the - The container CAN choose to passivate an entity bean instance WITHIN a transaction. -- Is it possible to passivate the entity bean within the transaction, when it is not possible in session beans.
-- This is not possible. The container cannot passivate an
EJB when it is busy in a transaction.
SCJP, SCWCD, SCBCD, OCA J8