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

    • Bug
    • Resolution: Done
    • Critical
    • AS 5.0.0.Beta3, AS 4.2.3.GA
    • AS 4.2.2.GA
    • None
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              arubinge@redhat.com Andrew Rubinger (Inactive)
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: