Specifications
Invoke the Application Response Java Hook as an Applet
cases are occurring most frequently. Then take steps to eliminate the
cause or source of the transaction failures.
Invoke the Application Response Java Hook as an Applet
The HTML code that you add to the Web page where the Java applets are
launched depends on the type of Web browser and Java plug-in for your
environment. The following examples are for use with Microsoft Internet
Explorer. You should consult other sources for information about invoking Java
applets in Web browsers such as Netscape Navigator.
Invoke the applet using the browser's default Java plug-in
Invoke the applet using Sun's Java plug-in
Invoke the applet within the same virtual machine as Oracle's JInitiator
Code Example: Invoke the Applet Using the Default Java Plug-In
The following HTML file is an example of using the <APPLET> tag to invoke the
AR Java hook applet using the default Java plug-in that is installed in the Web
browser.
Content-type: text/html
<html>
<title>AR Java Hook Example</title>
<h1>AR Java Hook Example</h1>
<hr>
Java Hook Applet for AR started using APPLET html tag
<p>
<APPLET CODE = com.concord.apps.ARJavaHook.ARJavaHook.class
ARCHIVE = "ARJavaHook.jar" WIDTH = 200 HEIGHT = 200 >
</APPLET>
This applet is a signed applet.
</center>
<hr>
</html>
Code Example: Invoke the Applet Using Sun's Java Plug-in
The following HTML file is an example of using the login info tag to invoke the
AR Java hook applet using Sun's Java plug-in. This will get you a version later
than 1.3 or return an error.
Content-type: text/html
<html>
<title>AR Java Hook Example</title>
<h1>AR Java Hook Example</h1>
<hr>
Monitor Transactions in Java Applications 111