Hence we have all the tools and machines needed in CISE network as part of the Internet. RMI Implementation Details RMI Registry RMI registry is a Naming Service that acts like a broker. RMI servers registers their objects with the RMI registry to make them publicly avaliable. RMI clients look up the registry to locate an object they are interested in and then obtain a reference to that object in order to use its remote methods. Of course, servers register only their remote objects, which have remote methods.
Details using the registry is given in the next section.
As it is mentioned above, remote methods that will be available to clients over the network, should be declared. This is accoplished by defining a remote interface. This interface must extend java.rmi.Remote class and must be defined as public to make it accessible to clients. The body of this interface definition consists of only the declaration of remote methods. The declaration is nothing more than the signatures of methods namely method name, parameters and return type.