Java Remote Method Invocation (RMI)
Documentation Contents
Enhancements since version 1.3 of the Java2 SDK
- RMI Release Notes
The RMI Release notes contain changes to the RMI and serialization APIs, as well as changes to the RMI tools, rmic and rmid.RMI Tutorials
- Getting Started
The Getting Started Tutorial shows you the steps to follow to create a distributed version of the classic Hello World program using Java Remote Method Invocation (RMI). The Hello World applet makes a remote method call to the server from which it was downloaded to retrieve the message "Hello World!"
- The Custom Socket Factory Tutorial
The Custom Socket Factory Tutorial shows you how to create a version of the distributed Hello World program in which the RMI runtime uses sockets of a type chosen by the programmer. This tutorial also includes a discussion of how RMI can be used over SSL sockets.
- The Activation Tutorials
The Activation Tutorials take you through the steps of creating a new class that defines an activatable object, migrating a UnicastRemoteObject to be an activatable object, activating classes that do not extend from java.rmi.activation.Activatable, and using a MarshalledObject to create persistent data.
RMI Architecture and Functional Specification
- RMI Specification (also in Postscript, PDF)
RMI API Specification
(javadoc)
RMI Tools
- rmic - Java RMI stub compiler - (for Microsoft Windows) (for the SolarisTM operating environment)
- rmiregistry - Java remote object registry - (for Microsoft Windows) (for the Solaris operating environment)
- rmid - Java RMI activation system daemon - (for Microsoft Windows) (for the Solaris operating environment)
For More Information
- The RMI and Object Serialization FAQ
- Search the archives of the RMI-USERS list
- Subscribe to the RMI-USERS list
- Dynamic code downloading using RMI
(Using the java.rmi.server.codebase Property)
- Useful java.rmi Properties
- Useful sun.rmi Properties
- Applying the Factory Pattern to RMI
- The RMI trail of The JavaTutorial Continued
- Using RMI with SSL
- The Java Remote Method Invocation (RMI) Home Page