Solved

Developing a utility with agents

Posted on 2004-04-21
5
243 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now