FileDocCategorySizeDatePackage
ServerMain.javaAPI DocExample529Sun Jun 22 18:58:24 BST 2003None

ServerMain

public class ServerMain extends Object

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

		// System.setSecurityManager(new RMISecurityManager());
		try {
			System.out.println("Server: Constructing RunServerImpl");
			RunServerImpl im = new RunServerImpl();

			System.out.println("Server: Registering with RMI...");
			Naming.rebind(RunServer.LOOKUP_NAME, im);
			System.out.println("Server: bound and ready.");
		} catch (Exception e) {
			System.err.println(e);
			System.exit(1);
		}