/** * Client program for the "Hello, world!" example. * @param argv The command line arguments which are ignored. */ import java.rmi.*; public class Client { public static void main (String[] argv) { try { HelloInterface hello = (HelloInterface) Naming.lookup ("rmi://cspc33.joensuu.fi:9876/Hello"); System.out.println (hello.say()); } catch (Exception e) { System.out.println ("HelloClient exception: " + e); } } }