public CMIProxy getCMIProxy() throws RemoteException { if(cmiProxy == null) { if(serializedProxy == null) { throw new RemoteException("The handle is empty !"); } Object object = CMIProxySerializer.unserialize(this); if(object == null) { throw new RemoteException("Cannot unserialize the EJBHome"); } cmiProxy = (CMIProxy) object; } return cmiProxy; }