protected void tearDown() throws Exception { try { // ejbObject.remove(); } catch (Exception e) { throw e; } finally { super.tearDown(); } }
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"); }