简体   繁体   中英

Developing an application for communication between computers in a network

I need to develop a software application for a computers in a network in the following scenario: Computers in a network are monitored by another master computer running a controller program. The controller is a software appln which performs network discovery, gets data from the discovered computers and performs a set of operations on the discovered computers.

I have made progress until this level: 1. Program for network discovery. o/p is IPs of all the active machines on n/w. 2. Basic program implementing RMI(rejected sockets as the program might have diff implementations)

My doubts: 1.Assuming that I need to send the instructions of operation to be executed on client machines with diff IPs, how do I do it with RMI? How do I connect to other clients,in the first place using RMI? 2.After connecting, how do I transmit instructions to and fro the controller?

Please help me out!

You might try reading the JNDI tutorial. It covers aspects of discovering other computers and communicating them at a level that may be useful to your project. The tutorial is located here: http://download.oracle.com/javase/jndi/tutorial/trailmap.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM