There seems to be a imperfect explanation / illustration on page 211 of K&B HFEJB.
In section "Container decides to kill the bean but does not call ejbRemove()." It shows the container sending to the gc the passivated bean for garbage collection.
When a bean is passivated it means that the bean is already either sent to gc (or maybe recycled [not per spec]) to reduce the number of bean objects on the heap.
In section "Container decides to kill the bean but does not call ejbRemove()." The book should show the container deleting the file conatining the bytes of the serialized bean from the file persistence system( or whatever means was used for serialization).
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!