July 2001
Intermediate to advanced
320 pages
5h 46m
English
Introduction—Proxies—Dispatchers—Exercises
Since clients communicate with servers via a remote interface, you will need to know the rules for defining this interface before you begin working with RMI servers. This chapter describes remote interfaces and provides an introduction to remote stubs and skeletons.
RMI clients invoke methods in remote objects via remote interfaces. A remote interface defines a remote service. A remote interface is a Java interface which extends java.rmi.Remote.
The interface java.rmi.Remote extends no interfaces and exports no methods. It is a marker interface which distinguishes remote interfaces from non-remote interfaces. It appears in the signatures of various ...
Read now
Unlock full access