An example of how to use MXBean annotations and JMX 2.0 APIs to create an easily managed and maintained Java application.
- Maven 3.x
- Java 1.7.x
- Internet access for Maven to download the dependencies
mvn clean package install
mvn exec:java -Dexec.mainClass=us.juggl.codepalousa.jmx.Main
Trying It Out
Once you have the application running, open JConsole and connect to the process