Oracle8i Application Developer's Guide - Advanced Queuing Release 2 (8.1.6) Part Number A76938-01 |
|
AQ Programmatic Environments, 7 of 10
Java Messaging Service (JMS): Java Messaging Service (JMS) is a messaging standard defined by Sun Microsystems along with Oracle, IBM and other vendors. JMS is a set of interfaces and associated semantics that define how a JMS client accesses the facilities of an enterprise messaging product.
Oracle Java Messaging Service (JMS): Oracle Java Messaging Service provides a Java API for Oracle8i Advanced Queuing based on the JMS standard. Oracle JMS supports the standard JMS interfaces and has extensions to support the AQ administrative operations and other AQ features that are not a part of the standard.
Standard JMS features include
Oracle JMS extensions include the following:
AdtMessages
. These are stored in the database as Oracle Objects and hence the payload of the message can be queried after it is enqueued. Subscriptions can be defined on the contents of these messages as opposed to just the message properties.
Oracle JMS uses JDBC to connect to the database, hence it applications can run as follows:
The standard JMS interfaces are in the javax.jms package.
The Oracle JMS interfaces are in the oracle.jms package.
jmscommon.jar
followed by aqapi.jar
using the loadjava utility.
Users must have EXECUTE privilege on DBMS_AQIN
and DBMS_AQJMS packages in order to use the Oracle JMS interfaces. Users can also acquire these rights through the AQ_USER_ROLE
or the AQ_ADMINSTRATOR_ROLE
.
Users will also need the appropriate system and Queue or Topic privileges to send or receive messages.
Oracle JMS interfaces are described in detail in the Oracle8i Supplied Java Packages Reference,.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|