If a bean has been removed and the client tries to call any methods on this bean, the Container will throw NoSuchObject(Local)Exception to the client. Check spec 18.3.5 pg 379.
Actually, the spec says that the Container
should throw NoSuchObjectException for a remote client, but
must throw RemoteException. So, it's up to the Container vendor to decide whether to throw the more helpful NoSuchObjectException or the less helpful RemoteException.