Java Remote Method Invocation (RMI)

Overview

"Remote Method Invocation (RMI) enables the programmer to create distributed JavaTM technology-based to Java technology-based applications, in which the methods of remote Java objects can be invoked from other Java virtual machines*, possibly on different hosts. A Java technology-based program can make a call on a remote object once it obtains a reference to the remote object, either by looking up the remote object in the bootstrap naming service provided by RMI or by receiving the reference as an argument or a return value. A client can call a remote object in a server, and that server can also be a client of other remote objects. RMI uses object serialization to marshal and unmarshal parameters and does not truncate types, supporting true object-oriented polymorphism. " [Sun Web Site]
Lecture
RMI Slides (lecture, handouts, ppt)
CreditCheck Example: source, classes
Resources
Sun RMI Page

Serialization

RMI over IIOP

Specification(s)
RMI Specification

Object Serialization Specification

Tutorials
RMI Getting Started Tutorial