use of javax.ejb.EJBHome in project tomee by apache.
the class UnknownEjbObjectTests method test04_getEjbHome.
public void test04_getEjbHome() {
try {
final EJBHome home = ejbObject.getEJBHome();
assertNotNull("The EJBHome is null", home);
} catch (final Exception e) {
fail("Received Exception " + e.getClass() + " : " + e.getMessage());
}
}
use of javax.ejb.EJBHome in project wildfly by wildfly.
the class HandleDelegateImpl method readEJBHome.
public EJBHome readEJBHome(final ObjectInputStream oistream) throws IOException, ClassNotFoundException {
final Object ejbHome = proxy.read(oistream);
reconnect(ejbHome);
return (EJBHome) PortableRemoteObject.narrow(ejbHome, EJBHome.class);
}
Aggregations