Chapter 28. java.rmi

This chapter provides a quick reference for the java.rmi package, the basic core pieces of Remote Method Invocation. In particular, this package defines the Remote interface, which is used by all RMI remote interfaces. This package also has the Naming class, which is used by code that creates remote objects to bind them to the RMIRegistry, and which is used by clients to find remote object stubs. This package also has the class RemoteException. Not only is this exception important in RMI, but it also appears elsewhere. For example, most methods of Enterprise JavaBeans classes must be declared as throwing a RemoteException.

Get PURE Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.