Enhancements since version 1.2 of the
JavaTM 2 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 JavaTM 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 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.