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

Openejb should not assign a web beans bean name, and it would never be the ejb name anyway

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: container system
    • Labels:
      None

      Description

      CdiEjbBean returns the ejb name as the web beans name. This is never correct. Without a @Named annotation the name is null, and if not explicitly specified in the @Named annotation its the decapitalized simple name of the ejb class. See web beans spec 3.2.5 and 2.5.2.

      This causes jcdi tck failures 3 out of 7 in org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: