FileDocCategorySizeDatePackage
HelloImpl.javaAPI DocExample699Thu Apr 03 15:28:34 BST 1997None

HelloImpl

public class HelloImpl extends UnicastRemoteObject implements Hello

Fields Summary
Constructors Summary
public HelloImpl()

    super();
  
Methods Summary
public static voidmain(java.lang.String[] args)


    try {
      HelloImpl h = new HelloImpl();
      Naming.rebind("hello", h);
      System.out.println("Hello Server ready.");
    }
     catch (RemoteException re) {
      System.out.println("Exception in HelloImpl.main: " + re);
    }
    catch (MalformedURLException e) {
      System.out.println("MalformedURLException in HelloImpl.main: " + e);
    }

  
public java.lang.StringsayHello()

    return "Hello, World!";