?
Solved

Developing a utility with agents

Posted on 2004-04-21
5
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
mmuruganandam earned 1600 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

764 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