Originally posted by Johann Evans:
The EJB spec mentions:
The container invokes the ejbRemove method on an entity bean instance with container-managed persistence in response to a client-invoked remove operation on the entity bean�s remote home or remote interface.
The above statement is present in section 14.1.3, and section 14 is titled "
EJB 1.1 Entity beans with container-managed persistence". That's probably why only the remote interfaces are mentioned.
I searched in the specs but could not find anything. So still have no answer to your question. Its strange, I (or most people for that matter) would expect the same behaviour for local beans, but then you are saying it is not happening. Hope someone has an explanation. By the way, which application server are you using?
- Sheldon Fernandes