This
simple Jini client Queries the Jini Service for it's current time
in milliseconds by invoking it's getTime() method. It then computes
the time taken for the message to reach it and prints it out in
milliseconds.

try { /*
Setting the security manager to allow the
RMI class loader
to go to the codebase for classes that are
not available
locally.
==========================================================
*/ System.setSecurityManager (new
RMISecurityManager ());