I would like to know if it's possible and maybe a little guide on how to start.
Thanks in advance
With kind regards, Stan
Tim Moores wrote:You could expose those methods via JMX, and then invoke them via a JMX client like VisualVM (assuming that you want to do this manually). To do it programmatically, either write the appropriate JMX client code, or run the Jolokia web app on the same server to do it over HTTP (assuming that this is on a servlet container).
I am aware of that, but I want it to hook into a program I haven't made myself. Don't worry, it's not for illegal purposes, I want to log the amount of players on a game server.