Transfer a process to remote machine
i am doing a project in java. i have to transfer a process(code) to another computer execute over there and get result back.while using this code i am able to copy current process (code) in to another directory but i have to transfer process to another machine execute over there and get result back.
if any one have solution of this problem plz help me out it's urgent.
public class dload
public static void main(String arg)
Process p = null;
rt = Runtime.getRuntime();
p=rt.exec("cmd /c copy g:\\sushil\\dload.java d:\\newdir"); // '/c' means execute the command.
// It will copy running process(dload.java) to destination(d);;;