Specifications
Define Rules for a Java Application or Java Applet
6. Download the Java Application Monitor:
a. Log in to the eHealth Web interface.
b. Go to the Systems & Apps page.
c. Click Application Response.
d. Click Download.
e. Click the link to download the Java Application Monitor
(ARJavaHook.jar file).
7. Copy the ARJavaHook.jar file to the same location on your Web server as
the Web page that you modified.
Define Rules for a Java Application or Java Applet
After you install the Java monitoring version of the AR agent on each target
client system, you can define a rule set that will recognize transactions based
on specific Java event actions. The process that you use to develop these rules
is basically the same as for other types of applications; however, you must
generate the event log file on a client system where the Java monitoring
version of the AR agent resides.
To develop transaction rules based on Java event actions
1. Determine the transactions to monitor.
2. Install BT Studio and BT Marker, if needed.
3. Enable recording.
4. Record events in the event log file using the client system with the
enabled AR agent to perform transactions for the target application.
5. Stop the recording of events.
6. Transfer the event log file to the BT Studio system.
7. Develop rule sets for the Java application or applet.
8. Define the resources (or use the resource definition template for Java):
9. In the require section, specify that the javaw process is one of the
required processes to indicate that an instance of the Java application or
applet is running.
10. In the additional section, specify Windows (so that AR can calculate client
time and think time) and Connection (to include network and server time
in response time measurements for transactions). Specify the Java
resource type so that the agent recognizes Java event actions.
106 BTStudio Administration Guide