Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12265

Out of specification: Singleton EJB is allowed to implement SessionBean interface.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 18.0.0.Beta1, 18.0.0.Final
    • 16.0.0.Final, 17.0.0.Final
    • EJB
    • None

    Description

      Singleton EJB is allowed to implement SessionBean interface and the EJB 3.2 spec says in section 4.9.2 Session Bean Class:

      "The class may implement, directly or indirectly, the javax.ejb.SessionBean interface. Except for singleton session beans."

      EAP should throw an exception or log a warning that it is not valid by the spec.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: