CONTENTS | PREV | NEXT | Java Remote Method Invocation |
Remote
Interface
Thejava.rmi.Remote
interface serves to identify all remote interfaces; all remote objects must directly or indirectly implement this interface.Implementation classes can implement any number of remote interfaces and can extend other remote implementation classes. RMI provides some convenience classes that remote object implementations can extend which facilitate remote object creation. These classes are
java.rmi.server.UnicastRemoteObject
andjava.rmi.activation.Activatable
.For more details on how to define a remote interface see the section "The
java.rmi.Remote
Interface".