The main( ) method

// The main method, to be called from a client-side command line
//
    public static void main(String args[]) {
        if (args.length!=2) {
            System.out.println("\n Usage:    " 
                 + "java ExternalConnect server-name:port-number
 				action ");
            System.out.println("  The action is connect, createtable,
 			" + "createproc, drop, "
 			+ "insert, select, update, or call \n" );
            return;
        }
        try{
           String server = args[0]; 
           String action = args[1].toLowerCase();
           Connection con = connecter(server);
           String workString = doAction( action, con, client);                 
           System.out.println("\n" + workString + "\n");
        }  catch (Exception e) {
           System.out.println("\n Exception: ");
           e.printStackTrace();
        }  
    }