Hi All... As described in "EJB3.0 Core Contracts and Requirements" specification, both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException as mentioned in sections 3.6.2.2, 3.6.3.2 and 3.6.5 of the specification. Currently the code throws java.rmi.RemoteException when using EJBHome and javax.ejb.EJBException when using EJBLocalHome. I will open a JIRA with this issue to track this requirement.
Thanks - Mohammad
