byte[] serializedRef = EJBObjectOutputStreamHandler._javaEEIOUtils.serializeObject
(reference, false);
returnReference = (java.rmi.Remote)
EJBObjectOutputStreamHandler._javaEEIOUtils.deserializeObject(serializedRef, false,
contextClassLoader);
GlassFishORBHelper orbHelper = EjbContainerUtilImpl.getInstance().getORBHelper();
ProtocolManager protocolMgr = orbHelper.getProtocolManager();
protocolMgr.connectObject(returnReference);
} catch(IOException ioe) {
throw ioe;