예제 #1
0
 protected void tearDown() throws Exception {
   try {
     // ejbObject.remove();
   } catch (Exception e) {
     throw e;
   } finally {
     super.tearDown();
   }
 }
예제 #2
0
 protected void setUp() throws Exception {
   super.setUp();
   Object obj = initialContext.lookup("client/tests/entity/cmp/ContextLookupCmpBean");
   ejbHome = (EncCmpHome) javax.rmi.PortableRemoteObject.narrow(obj, EncCmpHome.class);
   ejbObject = ejbHome.create("Enc Bean");
 }