Interface and Class Details

Interface Remote

public abstract interface Remote

The Remote interface must be extended by a remote interface. The Remote interface is the interface that defines the remotely accessible methods for a class. Generally that class implements the Remote interface and extends UnicastRemoteObject or extends Activatable, like this:

public interface Issueable extends Remote
    {
        // Remote method signatures.
       }
public LibraryCard extends UnicastRemoteObject
                      Implements Issueable
     {
      // Code to implement Issueable interface and do anything else
      // necessary, including specifying a constructor that throws
      // RemoteException.
     }

This is a flag to the JVM to say that the interface is a remote interface. Remote does not declare any ...

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.