O'Reilly logo

Java™ Network Programming and Distributed Computing by Michael Reilly, David Reilly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.9. Remote Method Invocation Packages and Classes

Now that you're familiar with the basics of RMI and how to write an RMI service, server, and client, let's look at the packages and classes that comprise the RMI subset of the Java API.

11.9.1. Packages Relating to Remote Method Invocation

Five packages deal with RMI. The two most commonly used are java.rmi and java.rmi.server, but it's important to be aware of the functionality provided by the remaining three.

  1. java.rmi— defines the Remote interface, classes used in RMI, and a number of exceptions that can occur at runtime.

  2. java.rmi.activation— introduced in the Java 2 platform, this package supports “activation” of remote services. Activation allows a service to be started on demand, rather ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required