Blog Archives

Exposing a Java class as a MXBean (or MBean) tutorial with jconsole

You can take a Java POJO (i.e. Plain Old Java Object) and expose it as an MBean, and view or modify values via JMX. In this tutorial, we will use jconsole, which is a JMX client. Step 1: Create a new Maven based Java project. Step 2: Import it into...



800+ Java Q&As & tutorials

Top