Example operation of the Java RMI