Oracle8i Application Developer's Guide - Advanced Queuing Release 2 (8.1.6) Part Number A76938-01 |
|
Basic Components, 6 of 6
The following sections describe the common Java interfaces and classes that are based on current PL/SQL interfaces.
The Java AQ classes are located in $ORACLE_HOME
/rdbms
/jlib
/aqapi
.jar
. These classes can be used with any Oracle8i JDBC driver.
If your application uses the OCI8 or thin JDBC driver, for JDK 1.2 you must include $ORACLE_HOME
/rdbms
/jlib
/aqapi
.jar
in the CLASSPATH
; for JDK 1.1 you must include $ORACLE_HOME
/rdbms
/jlib
/aqapi
11.jar
in the CLASSPATH.
If the application is using the Oracle Server driver and accessing the java AQ API from java stored procedures, the Java files are generally automatically pre-loaded in a Java-enabled database. If they are not loaded, you must first load the aqapi
.jar
and jmscommon.jar
files into the database using the "loadjava" utility.
Appendix A, "Oracle Advanced Queuing by Example" contains the following examples:
Set up for the test_aqjava class is described in Oracle8i Supplied Java Packages Reference "Setup for oracle.AQ Examples" section.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|