+

Search Tips   |   Advanced Search

 

Instrumenting an application with JRas extensions

 

You can create an application using JRas extensions. The JRas framework that is described in this task and its sub-tasks is deprecated. However, you can achieve similar results using Java logging.

 

Overview

To create an application using the WAS JRas extensions, perform the following steps:

 

Procedure

  1. Determine the mode for the extensions: integrated, stand-alone, or combined.

  2. If the extensions are used in either stand-alone or combined mode, create the necessary handler and formatter classes.

  3. If localized messages are used by the application, create a resource bundle.

  4. In the application code, get a reference to the Manager class and create the manager and logger instances.

  5. Insert the appropriate message and trace logging statements in the application.



Creating JRas resource bundles and message files

JRas manager and logger instances

Setting up for integrated JRas operation

Setting up for combined JRas operation

Setting up for stand-alone JRas operation