CONTENTS | PREV | NEXT Java Remote Method Invocation

4.1 The Remote Interface

package java.rmi;
public interface Remote {}

The java.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 and java.rmi.activation.Activatable.

For more details on how to define a remote interface see the section "The java.rmi.Remote Interface".

Copyright © 1997-1998 Sun Microsystems, Inc. All Rights Reserved.