December 1999
Intermediate to advanced
816 pages
20h 27m
English
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 ...
Read now
Unlock full access