09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using AQ Java (oracle.AQ) Classes to Access AQ<br />

For More Information<br />

For more information about OO4O, refer to the following Web site:<br />

http://technet.oracle.com<br />

<br />

Select Products > Internet Tools > Programmer. Scroll down to: <strong>Oracle</strong> Objects<br />

for OLE. At the bottom of the page is a list of useful articles for using the<br />

interfaces.<br />

http://www.oracle.com/products<br />

<br />

Search for articles on OO4O or <strong>Oracle</strong> Objects for OLE.<br />

Using AQ Java (oracle.AQ) Classes to Access AQ<br />

Accessing Java AQ Classes<br />

The Java AQ API supports both the administrative and operational features of<br />

<strong>Advanced</strong> Queueing. In developing Java programs for messaging applications, you<br />

use JDBC to open a connection to the database and to oracle.AQ, the Java AQ API<br />

for message queuing.<br />

<strong>Oracle</strong>9i Supplied Java Packages Reference describes the common interfaces and classes<br />

based on current PL/SQL interfaces.<br />

Common interfaces are prefixed with “AQ”. These interfaces will have different<br />

<br />

implementations in <strong>Oracle</strong>8i and <strong>Oracle</strong> Lite.<br />

In this document we describe the common interfaces and their corresponding<br />

<br />

<strong>Oracle</strong>8i implementations, that are in turn prefixed with “AQ<strong>Oracle</strong>”.<br />

The Java AQ classes are located in $ORACLE_HOME/rdbms/jlib/aqapi*.jar. In<br />

release 9.2, <strong>Oracle</strong> JMS conforms to Sun Microsystems’ JMS 1.0.2b standard. These<br />

classes can be used with any <strong>Oracle</strong>JDBC driver, version 8i and higher.<br />

Using OCI8 or Thin JDBC Driver<br />

For JDK 1.3, include the following in the CLASSPATH:<br />

<br />

* $ORACLE_HOME/jdbc/lib/classes12.zip<br />

* $ORACLE_HOME/jlib/jndi.jar<br />

* $ORACLE_HOME/rdbms/jlib/aqapi13.jar<br />

* $ORACLE_HOME/rdbms/jlib/jmscommon.jar<br />

3-6 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!