09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A Sample Application Using JMS<br />

A Sample Application Using JMS<br />

The operations of a large bookseller, BooksOnLine, are based on an online book<br />

ordering system that automates activities across the various departments involved<br />

in the entire sale process. The front end of the system is an order entry application<br />

where new orders are entered. These incoming orders are processed by an order<br />

processing application that validates and records the order. Shipping departments<br />

located at regional warehouses are then responsible for ensuring that these orders<br />

are shipped in a timely fashion. There are three regional warehouses: one serving<br />

the East Region, one serving the West Region, and a third warehouse for shipping<br />

International orders. Once an order has been shipped, the order information is<br />

routed to a central billing department that handles payment processing. The<br />

customer service department, located at its own site, is responsible for maintaining<br />

order status and handling inquiries about orders.<br />

In Chapter 1 we outlined a messaging system for an imaginary company,<br />

BooksOnLine. In this chapter we consider the features of the JMS interface to AQ<br />

in the context of a sample application based on that scenario. This sample<br />

application has been devised for the sole purpose of demonstrating the features of<br />

<strong>Oracle</strong> AQ. Our aim in creating this integrated scenario is to make it easier to grasp<br />

the possibilities of this technology by locating our explanations within a single<br />

context. However, it is not possible within the scope of a single relatively small code<br />

sample to demonstrate every possible application of AQ.<br />

General Features of JMS<br />

The following topics are discussed in this section:<br />

J2EE Compliance<br />

JMS Connection and Session<br />

JMS Destinations - Queue and Topic<br />

System-Level Access Control in JMS<br />

Destination-Level Access Control in JMS<br />

Retention and Message History in JMS<br />

Supporting <strong>Oracle</strong> Real Application Clusters in JMS<br />

Supporting Statistics Views in JMS<br />

Structured Payload/Message Types in JMS<br />

12-2 <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!