7.9.2 Details from S00001 to S09999
-
S00001
The session Bean Provider is responsible for providing the session bean class. (test name = aa....aa, ejb-name = bb....bb)
aa....aa: Test name
bb....bb: EJB name
- Description
-
The Session Bean class must be provided.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.1
-
S00002
The session Bean Provider is responsible for providing the session bean's client view interface(s). (test name = aa....aa, ejb-name = bb....bb)
aa....aa: Test name
bb....bb: EJB name
- Description
-
The client view of Session Bean must be provided.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.1
-
S00003
The session Bean Provider is responsible for providing the session bean's remote interface and remote home interface, if the session bean provides an EJB 2.x remote client view. (test name = aa....aa, ejb-name = bb....bb)
aa....aa: Test name
bb....bb: EJB name
- Description
-
When an EJB 2.x remote client view is provided, the remote interface and the remote home interface must be provided.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.1
-
S00004
The session Bean Provider is responsible for providing the session bean's local interface and local home interface, if the session bean provides an EJB 2.x local client view. (test name = aa....aa, ejb-name = bb....bb)
aa....aa: Test name
bb....bb: EJB name
- Description
-
When an EJB 2.x local client view is provided, the local interface and the local home interface must be provided.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.1
-
S00005
The web service client view is not supported. (test name = aa....aa, ejb-name = bb....bb)
aa....aa: Test name
bb....bb: EJB name
- Description
-
The web service client view is not supported.
- Action
-
Application servers do not support this functionality.
-
S01000
The EJB 2.x session bean class must implement, directly or indirectly, the javax.ejb.SessionBean interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The EJB 2.x Session Bean class must implement the javax.ejb.SessionBean interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #7.11.2
-
S01001
The session bean class must be defined as public, must not be final, and must not be abstract. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Session Bean class must be defined as public, must not be final, and must not be abstract.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.2
-
S01002
The session bean class must be a top level class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Session Bean class must be a top level class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.2
-
S01003
The session bean class must have a public constructor that takes no parameters. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Session Bean class must have a public constructor that does not take any parameters.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.2
-
S01004
The session bean class must not define the finalize method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Session Bean class must not define the finalize method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.2
-
S01005
The stateless/singleton session bean class must not implement the javax.ejb.SessionSynchronization interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Stateless Session Bean or Singleton Session Bean must not implement the javax.ejb.SessionSynchronization interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.2, EJB 3.1 Core Contracts and Requirements #4.3.7
-
S01006
The Remove annotation can only be specified on the business method of the bean class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The Remove annotation can only be specified on the business method of the Bean class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Simplified API #5.1.9
-
S01007
The stateless/singleton session bean class must not use any Session Synchronization Annotation. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The Session Synchronization annotation must not be defined in the Stateless Session Bean class or Singleton Session Bean class.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.3.7
-
S01008
The AfterBegin Session Synchronization annotation method must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
You cannot specify final or static in the method defining the @AfterBegin annotation.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01009
The BeforeCompletion Session Synchronization annotation method must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
You cannot specify final or static in the method defining the @BeforeCompletion annotation.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01010
The AfterCompletion Session Synchronization annotation method must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
You cannot specify final or static in the method defining the @AfterCompletion annotation.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01011
Any method annotated as a AfterBegin, method must have the signature below: void <METHOD>( ) (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
Specify the following signature for the afterBegin method:
void <METHOD>()
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01012
Any method annotated as a BeforeCompletion, method must have the signature below: void <METHOD>( ) (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
Specify the following signature for the beforeCompletion method:
void <METHOD>()
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01013
Any method annotated as a AfterCompletion, method must have the signature below: void <METHOD>(boolean committed ) (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
Specify the following signature for the afterCompletion method:
void <METHOD>(boolean committed)
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.9.4
-
S01014
The business method annotated as @Asynchronous must have return type void or java.util.concurrent.Future. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The return value type of all the business methods of the class specifying the @Asynchronous annotation must be void or java.util.concurrent.Future.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.5.2
-
S01015
The asynchronous method with return type void must not declare any application exceptions. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
You cannot specify an application exception in a business method specifying the @Asynchronous annotation and with the return value type void.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.5.2
-
S01017
Invalid DependsOn value specified. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, DependsOn = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Value specified for DependsOn
- Description
-
An invalid value is specified in the value of the @DependsOn annotation.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.8.1
-
S01018
The processing of @Asynchronous annotation is not supported for Stateful session bean. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
Application Server does not support the use of @Asynchronous annotation in Stateful Session Bean.
- Action
-
Use the @Asynchronous annotation in Stateless Session Bean or Singleton Session Bean.
- Specification information
-
None.
-
S01019
Singleton session bean in an EJB 2.1 client view is not allowed. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
You cannot use Singleton Session Bean in the EJB 2.1 client view.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #3.6
-
S01020
Asynchronous annotation in an EJB 2.1 client view is not supported. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
- Description
-
The @Asynchronous annotation is not supported in the EJB 2.1 client view.
- Action
-
Modify the application as per the specifications.
- Specification information
-
EJB 3.1 Core Contracts and Requirements #4.5.1
-
S03000
The same business interface cannot be both a local and a remote business interface of the bean. (test name = aa....aa, ejb-name = bb....bb, interface = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: Interface
- Description
-
The same business interface cannot be specified as both a local and remote business interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.6
-
S03001
The session bean's business interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, business-local = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local business interface
- Description
-
The business interface must not inherit the javax.ejb.EJBObject or the javax.ejb.EJBLocalObject interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.6
-
S03101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method names must not start with "ejb".
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S03102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S03103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S03104
The enterprise bean should not throw the java.rmi.RemoteException from a business method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The java.rmi.RemoteException must not be thrown from a business method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S04001
The session bean's business interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote business interface
- Description
-
The business interface must not inherit the javax.ejb.EJBObject or the javax.ejb.EJBLocalObject interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.6
-
S04002
The throws clause of a method in the session bean's remote business interface that does not extend java.rmi.Remote should not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote business interface
dd....dd: Method
- Description
-
The throws clause of a remote business interface method that does not inherit java.rmi.Remote cannot include java.rmi.RemoteException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.6
-
S04003
The session bean's remote business interface methods must not expose local interface types, timers or timer handles as arguments or results. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote business interface
dd....dd: Method
- Description
-
The remote business interface methods must not expose the local interface types, the timers, or the timer handles as arguments or results.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.6
-
S04101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method names must not start with "ejb".
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S04102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S04103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S04104
The enterprise bean should not throw the java.rmi.RemoteException from a business method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The java.rmi.RemoteException must not be thrown from a business method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S05000
All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the remote interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, remote = dd....dd, method =ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote interface
ee....ee: Method
- Description
-
The exceptions defined in the throws clause of the Session Bean class method corresponding to the method defined in the remote interface must be defined in the throws clause of the remote interface method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.7
-
S05001
The session bean's remote interface must extend the javax.ejb.EJBObject interface. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote interface
- Description
-
The remote interface must inherit the javax.ejb.EJBObject interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.7
-
S05002
The throws clause of a method of the session bean's remote interface must include java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the remote interface must include java.rmi.RemoteException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.7
-
S05003
For each method defined in the session bean's remote interface, there must be a matching method in the session bean's class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, remote = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote interface
ee....ee: Method
- Description
-
For each method defined in the remote interface, there must be a matching method in the session bean class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.7
-
S05004
The session bean's remote interface methods must not expose local interface types, local home interface types, timers or timer handles as arguments or results. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote interface
dd....dd: Method
- Description
-
The remote interface methods must not expose the local interface types, the local home interface types, and the timers, or the timer handles as arguments or results.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.7
-
S05101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method names must not start with "ejb".
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S05102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S05103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S06000
Each create method must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote home interface
ee....ee: Method
- Description
-
Each create method of the Session Bean must match one of the ejbCreate<METHOD> methods defined in the Session Bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #7.11.6
-
S06001
The session bean's remote home interface must extend the javax.ejb.EJBHome interface. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
- Description
-
The remote home interface must inherit the javax.ejb.EJBHome interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06002
The throws clause of a method of the session bean's remote home interface must include java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the remote interface must include java.rmi.RemoteException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06003
The stateless session bean's remote home interface must define exactly one create method with no arguments. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
- Description
-
The remote home interface of stateless session bean must define one create method with no arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06004
The stateful session bean's remote home interface must define one or more create<METHOD> methods. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
- Description
-
The remote home interface of stateful session bean must define one or more create<METHOD> methods.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06005
Each create method of a stateful session bean must match one of the Init methods or ejbCreate<METHOD> methods defined in the session bean class. The matching Init method or ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote home interface
ee....ee: Method
- Description
-
Each create method of a stateful session bean must match one of the Init methods or the ejbCreate<METHOD> methods defined in the session bean class. The matching Init method or the ejbCreate<METHOD> method must have the same number and types of arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06006
The return type for a create<METHOD> method defined in the session bean's remote home interface must be the session bean's remote interface type. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
dd....dd: Method
- Description
-
The return type for a create<METHOD> method must be the remote interface type of the session bean.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06007
All the exceptions defined in the throws clause of an ejbCreate<METHOD> method of the session bean class must be defined in the throws clause of the matching create<METHOD> method of the remote home interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote home interface
ee....ee: Method
- Description
-
The exceptions defined in the throws clause of an ejbCreate<METHOD> method of the session bean class must be defined in the throws clause of the matching create<METHOD> method of the remote home interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06008
The throws clause of a create<METHOD> method of the session bean's remote home interface must include javax.ejb.CreateException. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: remote home interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the remote home interface must include the javax.ejb.CreateException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.8
-
S06009
If the stateless session bean has an ejbCreate method, the PostConstruct annotation (or deployment descriptor metadata) can only be applied to the bean's ejbCreate method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote home interface
ee....ee: Method
- Description
-
If the stateless session bean has an ejbCreate method, the PostConstruct annotation can only be applied to the ejbCreate method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.3.10.2
-
S06010
The value element of the Init annotation must be specified when the Init annotation is used in association with an adapted home interface of a stateful session bean that has more than one create<METHOD> method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: remote home interface
ee....ee: Method
- Description
-
The value element of the Init annotation must be specified when the Init annotation is used in association with a home interface of a stateful session bean that has more than one create<METHOD> methods.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Simplified API #10.1.2.1
-
S06101
The ejbCreate<METHOD> method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The ejbCreate<METHOD> method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S06102
The ejbCreate<METHOD> method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The ejbCreate<METHOD> method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S06103
The return type for the ejbCreate<METHOD> method of the session bean's class must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The return type for the ejbCreate<METHOD> method must be void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S06201
The result type for the Init method must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The result type for the Init method must be void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Simplified API #10.1.2.1
-
S07000
All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the local interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local interface
ee....ee: Method
- Description
-
The exceptions defined in the throws clause of the session bean class method corresponding to the method defined in the local interface must be defined in the throws clause of the local interface method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.9
-
S07001
The session bean's local interface must extend the javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, local = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local interface
- Description
-
The local interface must inherit the javax.ejb.EJBLocalObject interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.9
-
S07002
The throws clause of a method defined in the session bean's local interface must not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, local = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the local interface cannot include the java.rmi.RemoteException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.9
-
S07003
For each method defined in the session bean's local interface, there must be a matching method in the session bean's class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local interface
ee....ee: Method
- Description
-
For each method defined in the local interface, there must be a matching method in the Session Bean class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.9
-
S07101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method names must not start with "ejb".
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S07102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S07103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The business method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.5
-
S08000
Each create method must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local home interface
ee....ee: Method
- Description
-
Each create method of the Session Bean must match one of the ejbCreate<METHOD> methods defined in the Session Bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #7.11.8
-
S08001
The session bean's local home interface must extend the javax.ejb.EJBLocalHome interface. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
- Description
-
The local home interface must inherit the javax.ejb.EJBLocalHome interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08002
The throws clause of a method in the session bean's local home interface must not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the local home interface cannot include the java.rmi.RemoteException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08003
The stateless session bean's local home interface must define exactly one create method with no arguments. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
- Description
-
The local home interface of Stateless Session Bean must define one create method with no arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08004
The stateful session bean's local home interface must define one or more create<METHOD> methods. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
- Description
-
The local home interface of Stateful Session Bean must define one or more create<METHOD> methods.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08005
Each create method of a stateful session bean must match one of the Init methods or ejbCreate<METHOD> methods defined in the session bean class. The matching Init method or ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local home interface
ee....ee: Method
- Description
-
Each create method of a Stateful Session Bean must match one of the Init methods or ejbCreate<METHOD> methods defined in the Session Bean class. The matching Init method or the ejbCreate<METHOD> method must have the same number and types of arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08006
The return type for a create<METHOD> method defined in the session bean's local home interface must be the session bean's local interface type. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
dd....dd: Method
- Description
-
The return type for a create<METHOD> method must be the local interface type of the Session Bean.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08007
All the exceptions defined in the throws clause of an ejbCreate<METHOD> method of the session bean class must be defined in the throws clause of the matching create<METHOD> method of the local home interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local home interface
ee....ee: Method
- Description
-
The exceptions defined in the throws clause of an ejbCreate<METHOD> method of the Session Bean class must be defined in the throws clause of the matching create<METHOD> method of the local home interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08008
The throws clause of a create<METHOD> method of the session bean's local home interface must include javax.ejb.CreateException. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: local home interface
dd....dd: Method
- Description
-
The throws clause of a method defined in the local home interface must include javax.ejb.CreateException.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.10
-
S08009
If the stateless session bean has an ejbCreate method, the PostConstruct annotation (or deployment descriptor metadata) can only be applied to the bean's ejbCreate method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local home interface
ee....ee: Method
- Description
-
If the Stateless Session Bean has an ejbCreate method, the PostConstruct annotation can only be applied to the ejbCreate method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.3.10.2
-
S08010
The value element of the Init annotation must be specified when the Init annotation is used in association with an adapted home interface of a stateful session bean that has more than one create<METHOD> method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: local home interface
ee....ee: Method
- Description
-
The value element of the Init annotation must be specified when the Init annotation is used in association with a home interface of a Stateful Session Bean that has more than one create<METHOD> methods.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Simplified API #10.1.2.1
-
S08101
The ejbCreate<METHOD> method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The ejbCreate<METHOD> method must be declared as public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S08102
The ejbCreate<METHOD> method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The ejbCreate<METHOD> method must not be declared as final or static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S08103
The return type for the ejbCreate<METHOD> method of the session bean's class must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The return type for the ejbCreate<METHOD> method must be void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Core Contracts and Requirements #4.6.4
-
S08201
The result type for the Init method must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
-
The result type for the Init method must be void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 3.0 Simplified API #10.1.2.1