Remote Method Invocation (RMI) tutorials and examples.
One principle is associated with RMI architecture and that is the implementation of behavior and definition of behavior are totally separate concepts. Code is allowed by RMI which defines what behavior is and also the code which keeps it separate.
This is nicely fitted with the distributed system needs where clients have major concern regarding the service definition and servers to be focused to provide the services.
Remote service definition in RMI is coded by usage