Book Image

SOA Cookbook

By : Michael Havey
Book Image

SOA Cookbook

By: Michael Havey

Overview of this book

<p>SOA Cookbook covers process-oriented SOA. BPEL is the best-known language in this area, and this book presents numerous BPEL examples. It also studies proprietary vendor process languages such as TIBCO's BusinessWorks and BEA's Weblogic Integration. If you are building SOA processes in the field, chances are you are using one of the languages discussed in SOA Cookbook. The book assumes that the reader is comfortable with XML and web services.<br /><br />Author Michael Havey works with SOA in the field for TIBCO (and previously for IBM, BEA, and Chordiant). SOA Cookbook is Michael's second book. Essential Business Process Modeling, his first book, was published in 2005.</p>
Table of Contents (14 chapters)
SOA Cookbook
Credits
About the Author
About the Reviewers
Preface

Summary


The naïve approach to process design is to build a process as a single large graph that models control flow. Although the naïve approach is the most natural, it produces complex graphs, which become almost unreadable and are difficult to maintain for use cases with a large number of number of scenarios.

The State form begins by deciding the main entity that the process is acting upon. It then builds a state machine model for that entity and restructures the process as a state machine. In BPEL, the machine is driven by a while loop; the loop contains a switch with cases to handle each state. The logic of each state includes a pick to drive transitions. A state with child states uses an inner switch to select the current child state.

The Event form structures the process as a while loop containing a pick with handlers for each possible event. Filters are used to prevent events from occurring at the wrong time. Some states (a handful of process flags) are needed for conditional...