System News
Short Course on Monitoring and Managing Java SE
Mandy Chung Shows How to Make the Most of Platform Features
August 28, 2006,
Volume 102, Issue 5

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...]

Keywords:

fullsource
 

Other articles in the Java Technology section of Volume 102, Issue 5:

See all archived articles in the Java Technology section.



News and Solutions for Users of Solaris, Java and Oracle's Sun hardware products
Just the news you need, none of what you don't – 42,000+ Members – 24,000+ Articles Published since 1998