FileDocCategorySizeDatePackage
HelloClient.javaAPI DocExample408Thu Apr 03 15:28:32 BST 1997None

HelloClient

public class HelloClient extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        
    System.setSecurityManager(new RMISecurityManager());

    try {

      Hello h = (Hello) Naming.lookup("hello");

      String message = h.sayHello();
      System.out.println("HelloClient: " + message);
    } 
    catch (Exception e) {
      System.out.println("Exception in main: " + e);
    }