title: JMX vs VisualVM?
body: <p>I read couple of links about JMX and VisualVM, but still have a couple of questions around them.</p>
  
  <p>As per my understanding, JMX &amp; VisualVM are 2 different JVM monitoring tools. In-addition, JMX has APIs, which a java application could incorporate and allow the monitoring tools to better monitor the application.</p>
  
  <p>Could someone clarify if this understanding is correct or flawed ? If flawed, could you please point to any articles explaining this difference/comparison better ? </p>
  
  <p>Also, when do i go for using JMX or VisualVM to monitor my java based web application hosted on a Tomcat 6.1 server ?</p>