public static Remote string_to_remote(final String ior) throws NamingException { return (Remote) PortableRemoteObject.narrow( getORB().string_to_object(ior), Remote.class); } }
public static String remote_to_string(final Remote remote) throws NamingException { Servant servant = (Servant) Util.getTie(remote); org.omg.CORBA.Object o = servant._this_object(); return getORB().object_to_string(o); }