The checks implemented verify that EJBs comply with the EJB 2.1 specification, which is unfortunately not available as HTML document.
Section 25.1.2 does not allow modifiable static fields, because the EJB tier may be deployed in a distributed environment.
Severity level: 2
Section 25.1.2 does not allow beans to use thread synchronization, because the EJB tier may be deployed in a distributed environment.
Severity level: 1
All Enterprise Beans extend the Serializable interface, which dictates that all non-transient fields must be serializable, which is not the case for the mentioned field.
Severity level: 1
Section 25.1.2 prohibits the use of the following classes:
Severity level: 1
Section 25.1.2 prohibits the use of:
Severity level: 1
Sections 7.11.2, 10.6.2, 12.2.2, and 15.7.2 state that the bean must have a public constructor that takes no arguments.
Severity level: 1
Initialization should be performed in setEntityContext
or setSessionContext
.
Severity level: 1
Section 7.11.2 requires that a session beans class modifier must be public
, and must not be final
nor abstract
.
Severity level: 1
Sections 7.11.2, 10.6.2, 12.2.2, and 15.7.2 state that an EJB must not implement the finalize() method.
Severity level: 1