MrXU (multiple remote execution utility)

What does it do?

A way to execute non-java code from Java. MrXU is a simple API that can both fork local commands and commands over ssh.

            WrappedClientFactory wcf = new WrappedClientFactory();
            Map conn = new HashMap();
            conn.put("host", "myhost.mydomain.com");
            conn.put("keyfile", "/home/ec/openssh.key" );
            conn.put("username", "root" );
            WrappedClient wc = wcf.getWrappedClient(
            "com.jointhegrid.mrxu.ganymedclient.GanymedWrappedClient",
            conn);
            wc.getUnderlyingClient();
            Client c = wc.getUnderlyingClient();
            BlockingCommandResult tdn = c.doCommand("ls");
            System.out.println(tdn.getOutput());
            System.out.println(tdn.getError());
            System.out.println(tdn.getReturnCode());