Chapter 29. java.rmi.server and java.rmi.activation

This chapter provides a quick reference of classes and interfaces used in creating RMI remote objects. The package java.rmi.server has changed significantly from JDK 1.1. This gives rise to the incompatibility between JDK 1.1 RMI programs and Java 2 stubs. If you have JDK 1.1-based RMI programs, you need to recompile them because there have been significant changes in how stubs work, among other things.

The packages java.rmi.server and java.rmi.activation provide support for two approaches to remote object instantiation. Using java.rmi.server.UnicastRemoteObject, you can define a class for a remote object. This object is then instantiated by a program running generally on a server system. The ...

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.