1 | All remote servers are a subclass of the class UnicastRemoteObject in the rmi.server package. Extending this class means that it will be a (nonreplicated) remote object that is set up to use the default socket-based transport layer for communication. |
2 | This is the inheritance diagram of the server classes: |
3 | Beginning of example HelloImpl class: import java.rmi.*; import java.rmi.server.*; public class HelloImpl extends UnicastRemoteObject implements Hello |
4 | Object |
5 | Remote Object |
6 | RemoteStub |
7 | RemoteServer |
8 | UnicastRemoteObject |
9 | Remote interface |