Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.7.0
-
None
-
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
Microsoft Windows XP Professional SP2
Description
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.