JMX vs VisualVM?

I read a couple of links about JMX and VisualVM, but there are still a few questions around them.

In my opinion, JMX and VisualVM are two different JVM monitoring tools. In addition, JMX has APIs that a Java application could enable and allow monitoring tools to better control the application.

Can someone clarify if this understanding or flaw is correct? If you are mistaken, could you please point out any articles explaining this difference / comparison better?

Also, when am I going to use JMX or VisualVM to monitor my Java-based web application hosted on a Tomcat 6.1 server?

+7
source share
1 answer

It is not right. JConsole and Java VisualVM are two different JVM monitoring tools. Java Management Extensions (JMX) is a Java technology that provides tools for managing and monitoring applications such as JConsole or Java VisualVM

+16
source

All Articles