In this post I want to introduce JMX, a “new” (it’s not very very new, as it becomes a part of the JEE 5.0 standard, but it is very unknown) technology in the Java World. The main goal of the JMX technology is provide a simple, standard way of managing resources such as applications, devices, and services. Because the JMX technology is dynamic, you can use it to monitor and manage resources as they are created, installed and implemented. You can also use the JMX technology to monitor and manage the Java Virtual Machine (Java VM).

You can use this technology to measure resources of your Java project, such as, number of threads alive, memory consumption and every thing you want to measure, and you can use the JConsole to get an interaction with the kind of resources. (more…)