JavaTM Remote Method Invocation (RMI)
Contents of the
JavaTM 2 SDK,
Remote Method Invocation (RMI) has several new enhancements. Remote object activation introduces support for persistent references to remote objects and automatic object activation by using these references. Custom socket factories allow a remote object to specify the protocol that RMI will use for remote calls to that object. RMI over a secure transport (such as SSL) can be supported using custom socket factories. Minor API enhancements allow the following: unexporting a remote object, obtaining the stub for an object implementation, and exporting an object on a specific port.RMI Tutorials
UnicastRemoteObjectto be an activatable object, activating classes that do not extend from
java.rmi.activation.Activatable, and using a
MarshalledObjectto create persistent data.