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.
In Session Beans,the ejbRemove() can be called by the container at any time.The bean could be returned back to the pooled state or it can be removed.This implementation would be container specific.
This has been clearly specified in Ed Roman as follows - Note that some containers will give slightly different outputs than others - it is all implementation specific and is part of EJB product documentation. We need to keep this in mind while debugging.