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.
Regards, Paresh Vernekar
Anything worth doing well is worth doing poorly first. Just look at this tiny ad: