To compile javac RmiServer.java rmic RmiServer javac RmiClient.java To execute java RmiServer java RmiClient localhost 3232 "hello"