There are three aspects to the short course called Monitoring and Managing Java SE 6 Platform Applications developed by Mandy Chung. Inasmuch as the JavaTM SE 6 platform (JavaTM 2 Platform, Standard Edition (J2SETM) 6.0 is now: the JavaTM Standard Edition (JavaTM SE) 6 (code name Mustang)) provides several monitoring and management tools that allow users to diagnose common problems in Java SE applications in production and development environments, Chung has created this course to familiarize users with these features.
The course first describes common problems and their symptoms in a Java SE application. Second, it provides an overview of Java SE 6's monitoring and management capabilities and, third, it describes how to use various Java Development Kit (JDK) tools to diagnose these problems.
JConsole, for example, allows users to observe the application and check the symptoms. In addition, as Chung points out, JDK 6 includes several other command-line tools. The jstat command prints various VM statistics including memory usage and garbage collection time. The jmap command allows you to obtain a heap histogram and a heap dump at runtime. The jhat command allows you to analyze a heap dump. And the jstack command allows you to obtain a thread stack trace. These diagnostic tools can attach to any application without requiring it to start in a special mode. With these tools, you can diagnose problems in applications more efficiently, as Chung demonstrates.
[...read more...]