Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1062

Finding the default local business interface on a bean with a superclass that implements interfaces doesn't work

    XMLWordPrintable

    Details

      Description

      The following doesn't work:

      @Stateless class MyBean extends SuperBean implements ExpectedLocalInterface {}

      interface ExpectedLocalInterface {}

      class SuperBean implements OtherInterface {}

      interface OtherInterface {}

      Based on the spec ExpectedLocalInterface is expected to become the local business interface.

      EJB 3 4.6.6:
      If bean class implements a single interface, that interface is assumed to be the busi-
      ness interface of the bean. This business interface will be a local interface unless the
      interface is designated as a remote business interface by use of the Remote annota-
      tion on the bean class or interface or by means of the deployment descriptor.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alrubinger Andrew Rubinger
                  Reporter:
                  wolfc Carlo de Wolf
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: