EJB design: Entity Beans and EJBRemove
I am a little confused about EJBRemove for entity beans. Does it remove a row or just return the use of the bean to the container? And if it deletes a row, do you ever give the bean back to the pool? Or does a client merely do the lookup, find and update or add a row and then do nothing else?
You're correct that ejbRemove() deletes the database entries. The container then pushes the bean back into the pool. I have a diagram detailing this in my EJB book, downloadable from this site.