Newsletter:

(Documentation) Create Simple JMX MBeans


Documentation : Create Simple JMX MBeans

Outline
This set of how-to examples focus on the use of JMX and Management Beans (MBeans) within applications that are deployed to an OC4J instance.

OC4J 10g (10.1.3) contains a JMX 1.2 server implementation, enabling MBeans to be instantiated and executed by OC4J.

OC4J 10g (10.1.3) implements the J2EE Management specification (JSR77) which defines a set of standard managed objects for a J2EE container, enabling it to be represented and managed in a standard way.

OC4J10g (10.1.3) implements the J2EE Deployment API specification (JSR88) which provides a standard API for conducting deployment operations on a J2EE container.

In this how-to, you will build and deploy a set of MBeans to an OC4J 10g (10.1.3) instance and use Application Server Control (supplied with OC4J) to view and manipulate the MBeans.

This how-to example has been updated from it's earlier version to show the use of Application Server Control to access the MBeans using the Application MBean Browser.

Pre-Requisites
To build, deploy and run these samples, you must have the following software installed on your computer:

Mandatory
1. OC4J 10g (10.1.3.x) installed. This can be downloaded from http://www.oracle.com/technology/software/products/ias/index.html
2. Apache Ant. This can be downloaded from http://ant.apache.org/. Note that a version of Ant is contained within the OC4J distribution which has the Oracle Ant tasks already integrated within it.

[Read More..]

Courtesy:- Oracle.com