what is JMX?
the jmx interface on your java application will let you monitor and publish graphs for:
- heap memory
- threads and their stack trace
- memory pools
and it will also expose the java Mbeans tree which you can browse
with the jconsole app included with any java distribution:
you can either browse and read these attributes,
and in some cases edit them and change the application status.