You get a NoSuchObjectException or NoSuchObjectLocalException are thrown if the object is removed( which could mean the entity bean object he has a reference to/or the entity the object is refereing to which means the clients reference is void now) and client is calling a method on it, where as the NoSuchEntityException is thrown by the bean to the container during one of the callbacks/methods where it could not complete the operation because the entity is removed from the database(underlying persistent store). Hope this helps.
Nileesha<br />SCJP 1.4, SCBCD, SCWCD.
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!