Question: how jmx works in java?
Answer: JMX Monitoring is done by querying data from Managed Beans (MBeans) that are exposed via a JVM port (JMX console). ... Using the JMX, a given resource is instrumented by one or more Java objects known as Managed Beans, or MBeans. These MBeans are registered in a core-managed object server, known as an MBean server.