Specifications

Enable the AR Agent to Monitor Java Applets
For Java applications like Live Exceptions that have an icon that does not call
the .bat file, you must modify both the icon and the .bat file. If you currently
invoke the Java application using the following command:
$JAVA_HOME/bin/java com.acme.MainClass -arg1 -arg2
then the invocation with the AR Java hook would be as follows:
$JAVA_HOME/bin/java com.concord.apps.ARJavaHook.ARJavaHook com.acme.MainClass
-arg1 -arg2
For example, you can start the Live Exceptions application using the
application icon or through the command line.
To modify the Live Exceptions icon, right-click on the icon and select
Properties. If the Shortcut tab is not selected, select it. In the Target field,
insert the AR Java hook class,
com.concord.apps.ARJavaHook.ARJavaHook, before the Live Exceptions
main class.
To modify the nhLiveExceptions.bat file, find the line that reads, @start
"Live Exceptions". Insert the text,
com.concord.apps.ARJavaHook.ARJavaHook, before the Live Exceptions
main class.
Note: You may want to create a backup of any .bat file that you modify.
When you reinstall the Live Health clients, the installation overwrites the
existing .bat files.
Enable the AR Agent to Monitor Java Applets
To enable Application Response to monitor transactions in client-side Java
applets, you must first generate an AR agent installation program that has the
Application Event API extension. You must also add specific HTML code and the
ARJavaHook.jar file to your Web server so that the Application Response
JavaHook classes and the applet that you want to monitor are available for
download by the client browser and then run within the same Java virtual
machine.
Communication Path of Application Response Monitoring a Java Applet
When the agent is installed on client systems where a Java applet is used,
Application Response will be able to measure transaction response times based
on special rules. This functionality supports applets developed using Java 2
104 BTStudio Administration Guide