IBM User Guide for Java V7 on Windows > IBM SDK for Java > The ORB > Examples of client–server applications > Summary of major differences between RMI (JRMP) and RMI-IIOP
Summary of differences in client development
There are a number of differences in client development.
- Import statement:
import javax.rmi.PortableRemoteObject;- Identify a remote object by name:
Object obj = ctx.lookup("Sample") MyObject myobj = (MyObject)PortableRemoteObject.narrow(obj,MyObject.class);- Generate a stub for IIOP using the command:
rmic -iiop
Parent: Summary of major differences between RMI (JRMP) and RMI-IIOP
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.