05.03.2013 Views

e-business Application Solutions on OS/390 Using ... - IBM Redbooks

e-business Application Solutions on OS/390 Using ... - IBM Redbooks

e-business Application Solutions on OS/390 Using ... - IBM Redbooks

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.

1.1.3 Transacti<strong>on</strong> Services<br />

Transacti<strong>on</strong>al processing has become the most important c<strong>on</strong>cept in enterprise<br />

applicati<strong>on</strong>s, and transacti<strong>on</strong> services have become more important than ever in the<br />

world of e-<str<strong>on</strong>g>business</str<strong>on</strong>g> applicati<strong>on</strong>s.<br />

In this world, a client request must be seen as a unit of work. Client requests must<br />

either be 100 percent executed, or else rolled back. A two-phase commit protocol<br />

is critical.<br />

1.1.4 Messaging Services<br />

The two most important benefits of messaging services are:<br />

Asynchr<strong>on</strong>ous processing<br />

Decoupling of systems<br />

We discuss these benefits in detail in the following secti<strong>on</strong>s.<br />

1.1.4.1 Asynchr<strong>on</strong>ous Processing<br />

Asynchr<strong>on</strong>ous processing can be best compared to a situati<strong>on</strong> where you would<br />

have a teleph<strong>on</strong>e c<strong>on</strong>versati<strong>on</strong>. Imagine the world without answering devices, as<br />

was the case some twenty years ago. You could <strong>on</strong>ly deliver your message by<br />

ph<strong>on</strong>e to another pers<strong>on</strong> by having that pers<strong>on</strong> actually <strong>on</strong> the ph<strong>on</strong>e. Otherwise,<br />

you would have to call that pers<strong>on</strong> again and again until he or she picks up the<br />

ph<strong>on</strong>e.<br />

By using an answering device <strong>on</strong> the other side, you could deliver the message<br />

anyhow, even when the other pers<strong>on</strong> did not pick up the ph<strong>on</strong>e. You would not<br />

have to call again and again.<br />

This situati<strong>on</strong> also applies to systems that communicate with each other. When the<br />

sending system cannot reach the receiving system, you do not want to have the<br />

sending system blocked because the receiving system is not available.<br />

<strong>Using</strong> message services, the sending system will keep the message in a queue<br />

until the receiving system is available again. It will then release the message.<br />

Another feature of messaging services is that each message gets a unique<br />

identifier, so that the receiving system can c<strong>on</strong>firm back that the message has been<br />

received.<br />

1.1.4.2 Decoupling of Systems<br />

Messaging services also decouple systems. Figure 2 <strong>on</strong> page 6 gives an example<br />

of a messaging service where a client would communicate with a host system. The<br />

client can also be <strong>on</strong> the same computer as the host system.<br />

Chapter 1. The e-<str<strong>on</strong>g>business</str<strong>on</strong>g> <str<strong>on</strong>g>Applicati<strong>on</strong></str<strong>on</strong>g> Framework 5

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

Saved successfully!

Ooh no, something went wrong!