Posted By:
Nathan_Meyers
Posted On:
Monday, May 14, 2001 07:46 AM
The
Runtime.exec() call executes
a command locally, just as if you had typed
it into a shell. It has no capability to launch
processes on remote machines.
There are many ways to build applications
that use distributed processing - Web servers,
application servers, remote-shell protocols
like rsh and ssh - but those all involve
setting up something on the server and
executing the appropriate protocols on
the client. Using Runtime.exec()
in the way described here will not get you there.