When we call remove(Object object) method of a session bean remote home interface(or local interface for that matter) - to remove a session object - do we get a RemoveException or a RemoteException(EJBException) ?
One version of errata that i have says RemoteException while HFEJB says RemoveException would be thrown.
Because session objects do not have primary keys that are accessible to clients, invoking the javax.ejb.EJBHome.remove(Object primaryKey) method on a session results in the javax.ejb.RemoveException.