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

Remote Interface explicitly declared is added to local interface list when strict option is not set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0
    • Fix Version/s: None
    • Component/s: ejb3 simplified
    • Labels:
      None
    • Environment:
      Windows XP
      JDK 1.5

      Description

      With the latest openejb 3.1.1 snapshot, I found if the env property openejb.strict.interface.declaration is not set to true, both local and remote interfaces are added to SessionBeanInfo.businessLocal.
      Here is bean structure:

      1. interface LocalInterface {}
      2. interface RemoveInterface {}
      3. class MyBeanBase implements LocalInterface, RemoteInterface {}
      4 @Stateful
      @Remote(

      {RemoteInterface.class}

      )
      @Local(

      {LocalInterface.class}

      )
      class MyBean extends MyBaseBean implements LocalInterface, RemoteInterface {}

        Attachments

        1. OpenEJB-1039.patch
          1 kB
          Haihong Xu

          Activity

            People

            • Assignee:
              dblevins David Blevins
              Reporter:
              xuhaihong Haihong Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: