Most tutorials on Java’s Remote Method Invocation (RMI) technology use as examples new programs that were initially written to use RMI; that practice excludes those of us who modify existing Java code ...
When you design an application to use RMI as a deployment option, you must follow remote semantics at compile time. Interfaces that may need to be remotely accessible must extend java.rmi.Remote, and ...