RMI Classes and Interfaces

The Java RMI API consists of a relatively small number of classes, interfaces, and exceptions. Of these classes and interfaces, developers will most likely work with only a very few to create remote objects. The packages that comprise Java RMI and a description of their contents are listed in Table 18-1.

Table 18-1. Java RMI Packages
PackageDescription
java.rmiThe core package for Java RMI. Contains the Remote interface and a number of the exceptions thrown by RMI applications.
java.rmi.activationProvides the capability to persist a Java remote object (RMI) and recall the object.
java.rmi.dgcProvides the ability for RMI to track object usage in the client and invoke distributed garbage collection when the object is no longer ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.