The JavaTM Tutorial

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form

Trail: JDK(TM) 1.1 -- And Beyond!
Lesson: What's New in 1.1?

## Remote Method Invocation

> Remote Method Invocation (RMI) enables programmers to create distributed Java-to-Java applications, in which the methods of remote Java objects can be invoked from other Java virtual machines, possibly on different hosts. A Java 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, thereby supporting true object-oriented polymorphism.

### Where to Find Documentation

- For an example that uses RMI, refer to BINGO!.

- You can find the Getting Started RMI tutorial and the RMI Specification at RMI Documentation .

- RMI Enhancements provides a preview of the enhancements planned to RMI in the next major release of the JDK.

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form