The Remote Object
A remote object is an instance of a class that implements a remote interface.
Most often this class also extends the library class java.rmi.server.UnicastRemoteObject. This class includes a constructor that exports the object to the RMI system when it is created, thus making the object visible to the outside world.
Usually you will not have to deal with this class explicitly—your remote object classes just have to extend it.
One fairly common convention is to name the class of the remote object after the name of the remote interface it implements, but append “Impl” to the end.