Peer-to-Peer or Client-Server?

Hello,

I have a Linux box (Also known as Master) that needs to have all the Java code. There are several Windows boxes (Slaves) that just stand by to hear from the master.

A swing-based screen on the master will have a text field for "IP Address" and the "name of the Java program to run" and the "number of times" to run that program. Once "Send" button is pressed, the respective windows box (slave) who's IP address was entered would be prompted to execute the given program. We have the option to command several slaves to run the same program at the same time, independently though. Each slave returns its result back to master and stands by for further orders.

I would appreciate if suggestions could be offered on how this scenario could be achieved?

Thanks,

[799 byte] By [Javajockeya] at [2007-11-26 18:43:43]
# 1
A minimal client/server program would do that...
hiwaa at 2007-7-9 6:17:39 > top of Java-index,Core,Core APIs...
# 2
Thanks for replying Hiwa.Do you recommend using RMI for this or it'll be a lot easier without RMI?
Javajockeya at 2007-7-9 6:17:39 > top of Java-index,Core,Core APIs...
# 3
If your master/slave communication requirement is simple enough, using RMI would be overkill. If it is a full fledged complex distributed application, RMI may be fit.
hiwaa at 2007-7-9 6:17:39 > top of Java-index,Core,Core APIs...