Book Image

Oracle SOA Suite Developer's Guide

By : Antony Reynolds, Matt Wright
Book Image

Oracle SOA Suite Developer's Guide

By: Antony Reynolds, Matt Wright

Overview of this book

<p>We are moving towards a standards-based Service-Oriented Architecture (SOA), where IT infrastructure is continuously adapted to keep up with the pace of business change. Oracle is at the forefront of this vision, with the Oracle SOA Suite providing the most comprehensive, proven, and integrated tool kit for building SOA based applications.<br /><br />Developers and Architects using the Oracle SOA Suite, whether working on integration projects, building composite applications, or specializing in implementations of Oracle Applications, need a hands-on guide on how best to harness and apply this technology. <br /><br />This book will guide you on using and applying the Oracle SOA Suite to solve real-world problems, enabling you to quickly learn and master the technology and its applications.<br /><br />The initial section of the book is aimed at providing you with a detailed hands-on tutorial to each of the core components that make up the Oracle SOA Suite; namely the Oracle Service Bus, BPEL Process Manager, Human Workflow, Business Rules, and Business Activity Monitoring. Once you are familiar with the various pieces of the SOA Suite and what they do, the next question will typically be: "What is the best way to combine / use all of these different components to implement a real-world SOA solution?"<br /><br />Answering this question is the goal of the next section. Using a working example of an online auction site (oBay), it leads you through key SOA design considerations in implementing a robust solution that is designed for change. Though the examples in the book are based on Oracle SOA Suite 10.1.3.4 the book will still be extremely useful for anyone using 11g.<br /><br />The final section addresses non-functional considerations and covers the packaging, deployment, and testing of SOA applications; it then details how to use Web Service Manager to secure and administer SOA applications.</p>
Table of Contents (27 chapters)
Oracle SOA Suite Developer's Guide
Credits
Foreword
About the authors
About the reviewers
Preface
Index

Monitoring process state


Now that we have examined how BAM is constructed, let us use this knowledge to construct some simple dashboards that track the state of a business process. We will instrument a simple version of an auction process. The process is shown in the following figure:

An auction is started and then bids are placed until the time runs out—at which point the auction is completed. This is modelled in BPEL. This process has three distinct states:

  • Started

  • Bid received

  • Completed

We are interested in the number of auctions in each state as well as the total value of auctions in progress. We will follow a middle out approach to build our dashboard. We will take the following steps:

  • Define our data within the Active Data Cache

  • Create sensors in BPEL and map to data in the ADC

  • Create suitable reports

  • Run the reports

Defining data objects

Data in BAM is stored in data objects. Individual data objects contain the information that is reported in BAM dashboards and may be updated by multiple events...