Java 5.0 built-in JMX

xiaoxiao2021-03-06  83

Java 5.0 built-in JMX

Java 5.0 has been released, and this version of this version is like a change from 1.4 to 5.0 changes. :-). (In fact, 5.0 is another title of 1.5).

This article focuses on Java Management Extension, referred to as JMX.

JMX is a set of tools for monitoring and managing Java applications. Can be used to monitor various J5 applications based on J2EE-based C / S types or SWING desktop types.

The most famous JBoss application server now using JMX now is managed. I used to analyze the JBoss source code in the power of gray foxes: JMX implementation used to manage JBoss can be said to be exciting. (I can't find the original text). In addition, JBoss is also the first J2EE application server that uses JMX mechanisms.

JMX is released separately before Java 5.0, and part of the standard library is now programmed. And Java 5.0 provides a JMX client tool called JCONSOLE.exe. It can be found in the bin directory of Java 5.0.

The picture below is a screenshot after launching JCONSOLLE on my machine:

From the figure, you can see JCONSOLE provides detailed Java application monitoring and management information. This provides an informative information on our analysis system to run bottlenecks and tuning.

Recently, the Orion application server in our company is always overflow, you can't find it, now it is good. Waiting for the application server that supports Java 5.0, I want to be such a management tool to be a basic feature.

It is best not to test on the same machine when using the JConsole monitoring of the application, because the JCONSOLE runtime takes a lot of resources. Recommended approach is to use remote monitoring.

Memory Monitor Making Using JMX: This article refers to the related articles on www.onjava.com.

Tian Chunfeng

2004-10-12 Java Cache Library

转载请注明原文地址:https://www.9cbs.com/read-107229.html

New Post(0)