Does Activation and Passivation is applicable for only Stateful session bean and Entity bean or only for Stateful beans?
I have read below,
The mechanisms employed in passivation and activation change depending on the bean type. Stateful beans are usually evicted, while entity beans and stateless beans are pooled.
Does above statement true?
My second question is we have ejb life cycle methods such as ejbCreate and ejbRemove. Also by using annotation such as @PostActivate, @PrePassivate we declare life cycle methods. What is the difference of those methods?
We noticed he had no friends. So we gave him this tiny ad: