Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5947

[GSS](7.2.0) Server should verify EJB business methods during deployment and log a warning

    XMLWordPrintable

Details

    Description

      The ejb 3.2 core specification state in chapter 4.9.6 that business methods should not be declared as final or static.

      But a Bean with a 'final' business method declared in the local or remote interface can be correct deployed and is accesible under some circumstances.

      To ensure that the Bean is according to the spec and avoid runtime or injection issues the methods should be checked and a VerifyError should be thrown at deployment time.

      Attachments

        1. server.zip
          2 kB
        2. server-v2.zip
          2 kB

        Issue Links

          Activity

            People

              rpelisse@redhat.com Romain Pelisse
              rhn-support-wfink Wolf Fink
              Jan Blizňák Jan Blizňák
              Jan Blizňák Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: