HI, I have a query regarding the ejbRemove() callback on the stateless bean. Will this call by the container result in the bean instance being moved to the garbage collector?
posted 11 years ago
Hi Paresh, Yes, the container will call this on a stateless session bean when it wants to reduce the amount of bean within a given pool. Worth mentioning: This action is not a result of any client call though.
Thanks Patrick !! So the a call to the ejbRemove() by the container will result in the instance being moved to garbage collection for both stateless as well as stateful session beans, although the initiating actions differ for both.