Java PrimerRMI Over IIOPWhen the Java and CORBA Worlds Collide

Java Primer
RMI Over IIOP
When the Java and CORBA Worlds Collide

Salih Ergül
Listing 1. Remote interface to an Internet fax machine.

package fax;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface InternetFax extends Remote {

  int getQueueLength() throws RemoteException;

  sendDocument(Document doc, String destination) throws
    RemoteException, DocumentTypeException;
}