Solved

Developing a utility with agents

Posted on 2004-04-21
5
248 Views
Last Modified: 2010-03-31
Hi All.

I`m pretty new in Java world so it`s possible that my question is pretty basic.
I`m about to develop a utility which is based on a master server, which contains the data of the system and run all the computations I`ll need.
This master server shall get information from agents which are installed on different locations.
The data will contain stuff like CPU Usage of the OS, FileSystems installed etc.

I`m looking for the right architecture of communication between the server and the agents.
This communication shall be secured of course, so no one whith access to the server on the IP port will be able to act as an agent.

Can you recommend me what is the best way to implement it?

Thanks,
Stam.
0
Comment
Question by:stam061398
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
mmuruganandam earned 400 total points
ID: 10886094
You really thinking of going about secure way,

Then you have to use SecureSocket.  For your requirement, SecureSocket is the best choice as to me.
You can write your won Sockets (Server and clients).  All the clients can be run anywhere and there can be 'n' number of clients.  Your server will get the data from the clients based on some interval.

But getting the information about the CPU usage and process, you need to write a Native API (DLL) as there is no support for those in Java.

But if your DLL is ready, you can load that into your JVM by calling System.loadLibrary(dll name).  


Regards,
Muruga
0
 
LVL 2

Author Comment

by:stam061398
ID: 10886118
Thanks.
The solution of SecureSocket will encrypt the transportation between the components.
I`m concerned by another issue - how can I make sure that the client connected to the main server is really a certified client.
Is there any authentication solution between the components?

Thanks,
Stam.
0
 
LVL 9

Expert Comment

by:mmuruganandam
ID: 10886152
When it is a SSLSocket, then there would be a certificate check between client and server as happened with browser and server (certificate hand-shake).


Regards,
Muruga
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JavaFX TableView not displaying correctly 3 100
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 74
Problem to Alipay 10 67
IBM TS2900 (3572) Tape Autoloader Java? 12 51
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question