Method Summary |
|
public static Test | suite() |
public void | testBMTSessionHandleNoDefaultJNDI() Test of BMT handle that is unmarshalled in a environment where
new InitialContext() will not work. |
public void | testBadUserTx() |
public void | testBasicSession() EJB 1.1 (Page 40)
"The container is responsible for making the home interfaces
of its deployed enterprise of its deployed enterprise beans
available to the client through JNDI API extension. |
public void | testCompareSerializeGetPK() |
public void | testEJBHomeInterface() Method testEJBHomeInterface
EJB 1.1 (Page 42)
"The home interface allows a client to do the following:"
- Create a new session object
- Remove session object
- Get the javax.ejb.EJBMetaData interface for the
session bean. |
public void | testHomeFromRemoteNoDefaultJNDI() Test of accessing the home interface from the remote interface in an env
new InitialContext() will not work. |
public void | testInVMSessionHandlePassivation() Create a StatefulSessionBean and then create a handle to a stateful
session bean in the session. |
public void | testLocalInterfacePassivation() Create a StatefulSessionBean and then create a local interface to
an entity in the session. |
public void | testLoopback() Method testLoopback
EJB 1.1 [6.5.6]
A client call to bean 'A' which calls bean 'B' and bean 'B'
in turn calls a method on bean 'A', there should be a
RemoteException should be thrown. |
public void | testPassivationBySize() Create a StatefulSessionBean and then force passivation by creating
another session bean and then activated by invoking a business method. |
public void | testPassivationByTime() Create a StatefulSessionBean and then force passivation by waiting
for 45 seconds. |
public void | testProbeBeanContext() |
public void | testRemoveSessionObject() Method testRemoveSessionObject
EJB 1.1 (Page 42)
Removing a Session Object. |
public void | testSerialization() Method testSerialization
EJB 1.1 [5.7] Page 45
Session bean must be serializable. |
public void | testSessionHandleNoDefaultJNDI() Test of handle that is unmarshalled in a environment where
new InitialContext() will not work. |
public void | testSessionHandlePassivation() Create a StatefulSessionBean and then create a handle to a session
bean in the session. |
public void | testSessionRefPassivation() Create a StatefulSessionBean and then create a handle to a session
bean in the session. |
public void | testStrictPooling() Run MAX_SIZE instances currently with a strictMaxSize setting of 5 to
see that at most 5 instances are active in the bean instance. |
public void | testUnSerialization() Method testUnSerialization
EJB 1.1 [5.7] Page 45
Part II of the test, makes sure the bean can be resurected and used. |
public void | testUserTx() |