String switchboardName = Switchboard.defaultBindingName; if (args.length > 1) switchboardName = args[0];  if (System.getSecurityManager() == null) System.setSecurityManager(new RMISecurityManager());
if (!processArgs(args)) return;
  public static void main(String[] args) {    String switchboardName = Switchboard.defaultBindingName;    if (args.length > 1)      switchboardName = args[0];    //Create and install a security manager    if (System.getSecurityManager() == null)      System.setSecurityManager(new RMISecurityManager());    Parser parser = null;    // define fallback-default values for the following three    // fault-tolerance settings    int defaultRetries = 1, defaultRetrySleep = 1000;    boolean defaultFailover = true;    try {      parser = new Parser(Parser.getTimeout());      parser.register(switchboardName);      Settings.setSettings(parser.switchboard.getSettings());      parser.getFaultTolerantServer(getRetries(defaultRetries),				    getRetrySleep(defaultRetrySleep),				    getFailover(defaultFailover));      parser.processObjectsThenDie();    }    catch (RemoteException re) {      System.err.println(re);      if (parser != null) {	try { parser.die(true); }	catch (RemoteException re2) {	  System.err.println("couldn't die! (" + re + ")");	}      }    }    catch (MalformedURLException mue) {      System.err.println(mue);    }    if (debug)      System.err.println("main ending!");  }