This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, A Stateful session bean will never be passivated when it is in a transaction.Because the condition of passivation is this that bean is wasting the resources and not service the client for long time then container decides to passivate the bean by using the serialization mechanism. On the other hand if stateful bean is in transaction that means it is under process and doing some work. Regards,