You could write subsystem that is directly part of the server.
But without knowing what exactly you need to do, it is hard to suggest anything.
Thanks for the reply Tomaz!
Subsystems sound complicated , I'll have to look into it.
As mentioned above, I have requests for information about the life-cycle of the server and of the deployments within. f.i. in one case we have a CLI that wants to know when the server has started and when it goes down, would like to be informed.
On the other hand I have RMI clients that might connect to the server before it has fully started and thus we would like to allow then to be able to query the same information about the server's state.
The deployment status list is used to see if any deployment has had issues. We have had problems before and we want to have interfaces where we can query the states. I can naturally do the list on-request, but was just wondering if there are other ways.