Search code examples
javarmicajo

How to administer a remote java program?


I want to build a GUI to administer a remotely executing java program (view status of executing tasks, load/start/stop tasks), but nothing complicated.

My best idea so far is to use CAJO.

Is there another approach that might be superior?

The Java program is a standard Java SE executable. It is not part of a web app.


Solution

  • The standard way is to use JMX. You can access JMX over HTTP as well. This is the cheapest but not the nicer solution because UI of the standard JMX console is not the best UI I have ever seen :).