Posted By:
Steve_Kennedy
Posted On:
Monday, September 3, 2001 10:11 AM
You can use RMI (Remote Method Invocation)
and the Runtime.getRuntime.exec function.
Then you can just send a string (the command) to
the remote computer, and the remote computer can
call the Runtime.getRuntime.exec(command) to
execute the command in it's local runtime environment.
The remote computer can't be blocked by a firewall
or using NAT/Masquerading.
Check out the RMI forum and java.sun.com for
more information on RMI.