Troubleshoot > Add logging and tracing to the application > Programming with the JRas frameworkInstrumenting an application with JRas extensions
We can create an application using JRas extensions.
The JRas framework described in this task and its sub-tasks is deprecated. However, we can achieve similar results using Java logging.
To create an application using the WebSphere Application Server JRas extensions, perform the following steps:
- Determine the mode for the extensions: integrated, stand-alone, or combined.
- If the extensions are used in either stand-alone or combined mode, create the necessary handler and formatter classes.
- If localized messages are used by the application, create a resource bundle.
- In the application code, get a reference to the Manager class and create the manager and logger instances.
- Insert the appropriate message and trace logging statements in the application.
Subtopics
- Create JRas resource bundles and message files
- JRas manager and logger instances
- Set up for integrated JRas operation
- Set up for combined JRas operation
- Set up for stand-alone JRas operation