23.07.2013 Views

O'Reilly - Java Message Service

O'Reilly - Java Message Service

O'Reilly - Java Message Service

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Java</strong> <strong>Message</strong> <strong>Service</strong><br />

Figure 1.5. Dynamically adding auditing and logging using publish-and-subscribe<br />

Figure 1.6. Integration of purchase order system with an ERP system<br />

In Figure 1.6, other JMS applications (A and B) also subscribe to the purchase order topic<br />

and do their own independent processing. Application A might be a legacy application in<br />

the company, while application B may be another company's business system, representing<br />

a B2B integration.<br />

Using JMS, it's fairly easy to add and remove applications from this process. For example,<br />

if purchase orders need to be processed from two different sources, such as an Internetbased<br />

system and a legacy EDI system, you can simply add the legacy purchase order<br />

system to the mix (see Figure 1.7).<br />

14

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

Saved successfully!

Ooh no, something went wrong!