Class StatelessHandleTests

All Implemented Interfaces:
junit.framework.Test

public class StatelessHandleTests extends BasicStatelessTestClient
[7] Should be run as the seventh test suite of the BasicStatelessTestClients
  • Constructor Details

    • StatelessHandleTests

      public StatelessHandleTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: StatelessTestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class StatelessTestClient
      Throws:
      Exception
    • tearDown

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class NumberedTestCase
      Throws:
      Exception
    • test01_getEJBObject

      public void test01_getEJBObject()
    • test02_EJBHome_remove

      public void test02_EJBHome_remove()
      5.6 Client view of session object's life cycle ....It is invalid to reference a session object that does not exist. Attempted invocations on a session object that does not exist result in java.rmi.NoSuchObjectException. This remove method of the EJBHome is placed hear as it is more a test on the handle then on the remove method itself.