Non-Java JMX client
Asked Answered
K

0

3

Is it possible to create a JMX client that doesn't run on the JVM? From my understanding JMX is a protocol on top of other protocols (like RMI) so it should be possible to create a C or Go client. Any reason why this hasn't been done?

I am aware of Jolokia and realise it can be used as a proxy.

Karissakarita answered 10/3, 2018 at 10:29 Comment(7)
All the code behind JMX is open-source, so I don't see any reason why it wouldn't be possible to reimplement it in a different language. I guess this hasn't been done because there's a lot of code and no one needed it before.Alienation
@Alienation That's not the question. The question is whether you can write a client in another language, not reimplement the whole thing.Wryneck
Yes, that's what I meant. Reimplementing the whole thing doesn't make sense because it's tied to the JVM internals.Alienation
RMI means serialized java classes. You need to emulate that to work with other platforms.Eskimo
ALso consider looking at https://mcmap.net/q/1485160/-access-jmx-agents-from-non-java-clients/53897Eskimo
For sake of clarity, I would recommend jpype for python users. It still instantiates the jvm but it runs under python as well. jpype.readthedocs.io/en/latestCooperage
JMX has, or had, an HTTP interface.Wryneck

© 2022 - 2024 — McMap. All rights reserved.