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

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

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: