org.netbeans.modules.j2ee.ejbverification.rules |
|
Java Source File Name | Type | Comment |
BeanHasDifferentLBIandRBI.java | Class | |
BeanImplementsBI.java | Class | In EJB 3.0, it is recommended that a bean class implements its business interface. |
BMnotPartOfRBIandLBI.java | Class | The invocation semantics of a remote business method is very different
from that of a local business method.
For this reason, when a session bean has remote as well as local business method,
there should not be any method common to both the interfaces.
Example below is an incorrect use case:
Remote public interface I1 { void foo();},
Local public interface I2 { void foo();},
Stateless public class Foo implements I1, I2 { ... |
BusinessMethodExposed.java | Class | |
HasNoArgContructor.java | Class | |
LegalModifiers.java | Class | |
LocalAnnotatedBeanHasLBI.java | Class | If a session bean is annotated as @Local,
then it must have a local business interface. |
RemoteAnnotatedBeanHasRBI.java | Class | If a session bean is annotated as @Remote,
then it must have a remote business interface. |
SBSuperClassNotSB.java | Class | |
SessionSynchImplementedBySFSBOnly.java | Class | Only stateful session bean(SFSB) can implement SessionSynchronization i/f. |
ValueNotSpecifiedForRemoteAnnotationInterface.java | Class | If an interface is annotated with @Remote,
then value attribute must not be specified. |
WSisSLSB.java | Class | If a class is part of ejb-jar and is annotated as @WebService,
then it must be designated as a stateless session bean. |