Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Developing a utility with agents

Posted on 2004-04-21
5
Medium Priority
?
259 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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…
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 …
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…
Suggested Courses

618 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