Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-282

Both EJBHome and EJBLocalHome remove(Object primaryKey) methods should throw javax.ejb.RemoveException when used with Sessions beans

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • ejb3 simplified
    • 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.

      Attachments

        1. patch_OPENEJB-282.txt
          15 kB
          Mohammad Nour El-Din

        Activity

          People

            mnour Mohammad Nour El-Din
            mnour Mohammad Nour El-Din
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: