Entity Beans and EJBRemove


EJB design: Entity Beans and EJBRemove

  1. Entity Beans and EJBRemove (1 messages)

    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?



    Threaded Messages (1)

  2. Entity Beans and EJBRemove[ Go to top ]

    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.