This content has been marked as final.
Show 1 reply
-
1. Re: Stateful Session Bean Remove
petertje Feb 7, 2003 7:45 AM (in response to olegg)> When the container removes the stateful session bean
> it does not call ejbRemove method.
That is correct. This behaviour is defined in the EJB spec.
> Why could it happen?
ejbRemove is called when the client removes the stateful session bean. If you need to do some cleanup before the bean is removed (by the container) do it in the passivate call.
Peter