The Artima Developer Community
Sponsored Link

Java Community News
Monitor and Manage a J2SE 5 JVM

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Monitor and Manage a J2SE 5 JVM Posted: Apr 20, 2006 8:37 AM
Reply to this message Reply
Summary
J2SE 5 sports a new set of monitoring and management tools, centered around the java.lang.management package. A recent tutorial shows how to collect vital statistics about an application's performance inside the JVM with MXbeans, or Java platform management beans.
Advertisement

While several vendors included management and monitoring utilities in their earlier JVM distributions, JDK 5 includes a standard set of tools via an implementation of the Java platform management API. A recent IBM DeveloperWorks article describes this API and its associated tools.

Classes in the Java platform management API reside in the java.lang.management package, and correspond to various JVM features, such as garbage collection, the memory subsystem, threads, class loading, and so forth. These capabilities are exposed to the API's user as platform management beans, or MXBeans.

The J2SE 5 SDK includes a graphical utility that takes advantage of MXBeans, JConsole. You can go to the JDK installation's bin subdirectory, and fire up jconsole to obtain a graphical overview of a Java VM's runtime environment.

While platform management beans, and tools such as JConsole, provide an attractive view of what's inside the JVM, many developers use such tools only during performance tuning or performance-related trouble shooting, which often takes place after the main development phase of an application is complete.

To what extent do you think performance-related concerns should play a role during development? What roles, if any, should JVM monitoring and management tools play during the development cycle?

Topic: Monitor and Manage a J2SE 5 JVM Previous Topic   Next Topic Topic: Direct Web Remoting (DWR) 2.0 Reaches First Milestone Build

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use