FileDocCategorySizeDatePackage
ThisOrThatServerReg.javaAPI DocExample920Wed Apr 05 11:25:42 BST 2000None

ThisOrThatServerReg

public class ThisOrThatServerReg extends Object

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

    try {
      ThisOrThatServerImpl server = new ThisOrThatServerImpl();
      Registry registry = LocateRegistry.getRegistry();
      System.out.print("Registering server...");
      registry.rebind("server", server);
      System.out.println("done.");
    }
    catch (Exception e) {
      e.printStackTrace();
    }