Book Image

WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g

Book Image

WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g

Overview of this book

Business Process Execution Language (BPEL, aka WS-BPEL) has become the de-facto standard for orchestrating services in SOA composite applications. BPEL reduces the gap between business requirements and applications and allows for better alignment between business processes and underlying IT architecture. BPEL is for SOA what SQL is for databases. Therefore learning BPEL is essential for the successful adoption of SOA or the development of composite applications. Although BPEL looks simple at first sight, it hides its large potential and has many interesting and advanced features. If you can get familiar with these features - you can maximize the value of SOA. This book provides a comprehensive and detailed coverage of BPEL, one of the centerpieces of SOA. It covers basic and advanced features of BPEL 2.0 and provides several real-world examples. In addition to BPEL specification the book provides comprehensive coverage of BPEL support in Oracle SOA Suite 11g, including security, transactions, human workflow, process monitoring, automatic generation of BPEL from process models, dynamic processes, and more. This book starts with an introduction to BPEL, its role with regard to SOA and the process-oriented approach to SOA. The authors give short descriptions of the most important SOA platforms and BPEL servers—the run time environments for the execution of business processes specified in BPEL—and compare BPEL to other business process languages. The book will then move on to explain core concepts such as invoking services, synchronous and asynchronous processes, partner links, role of WSDL, variables, flows, and more.Moving ahead you will become familiar with fault handling, transaction management and compensation handling, scopes, events and event handlers, concurrent activities and links. The authors also discuss the business process lifecycle, correlation of messages, dynamic partner links, abstract business processes and mapping from BPMN to BPEL. The book presents in detail, how to use BPEL with Oracle SOA Suite 11g PS2. It explains the development of BPEL and SCA assemblies, and demonstrates different approaches with some practical examples. It addresses security, transaction handling, and human workflow. Then, the book addresses entity variables, notification services, fault management framework, and business events in BPEL. It provides exhaustive coverage of monitoring BPEL processes and developing dashboards with Oracle BAM. It explains how to use BPEL processes with Oracle Service Bus and Oracle Service Registry. Using examples, the book also demonstrates how to transform business process models in BPMN (using Business Modeler) to BPEL, how to achieve round-tripping using BPA Suite and BPM Suite, and how to use Oracle Enterprise Repository to govern BPEL processes. The book also covers the complete BPM lifecycle from modeling through implementation, execution, monitoring, and optimization and presents advanced, real-world examples.
Table of Contents (17 chapters)
WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
Credits
Foreword
About the Authors
About the Reviewers
Preface

Foreword

Before the advent of SOA, integration was nothing less than an IT nightmare. Any integration project imposed a tremendous financial and resource burden on the IT department. In many cases, integration was solved with point solutions: here a database link, there a file transfer.

With SOA, things started to look better. SOA allowed organizations to take on integration challenges head-on. SOA provided an opportunity for organizations to build services once and reuse everywhere. Reusability fastened the implementation timelines and reduced the maintenance costs.

As SOA started becoming mainstream and the de-facto choice for standards-based integration, organizations have started expanding their SOA footprint and its use. SOA is no longer just about faster integration. With SOA and the advent of BPM, organizations are now looking to optimize inefficient processes, bring agility through a rules-driven approach, determine visibility into key business metrics, and empower business users to participate in the SOA lifecycle, and so on. These requirements go beyond a simple integration between two applications. SOA is fast becoming an approach to drive IT agility.

However, this expanded role of SOA is not without its own perils. For SOA to optimize business processes, drive agility, and improve visibility, organizations have to bring several technologies together orchestration engine, rules engine, process modeling tools, process monitoring tools, and data service bus. With different tools from different vendors, the integration challenge has moved to a new level now. Before integrating processes and data, organizations have to first integrate tools and technologies. In short, the solution is now the new problem.

This is where Oracle SOA Suite brings sanity back in the integration landscape. Oracle SOA Suite 11g has been created to provide a unified and integrated experience throughout the entire SOA lifecycle. It has been designed with a goal of shielding developers, IT operations, and business users from underlying infrastructure complexity and providing an experience they would have gotten had they used just one single tool. Oracle SOA Suite 11g brings together an orchestration engine (BPEL Process Manager), a rules engine (Oracle Business Rules), modeling tools (JDeveloper integration with BPA Suite), a process monitoring tool (Oracle BAM), and a data service bus (Oracle Service Bus). But, what makes Oracle SOA Suite really stand apart is how integrated this stack is.

When you read this book, you will see how developers don't have to leave their unified console to business SOA applications and work with all SOA artifacts (processes, rules, activity sensors, services, XML, SQL). Similarly, IT administrators have a single application to install, cluster, and manage their entire SOA deployment, greatly simplifying their duties. And the good news is everything is standards based.

As you start building SOA applications, this book will be your trustworthy companion. Along with how-to tutorials, you will also get to hear interesting insights on competing standards, architecture patterns, and best practices. This book is a true successor of Oracle BPEL. We would like to thank Matjaz for putting this together.

May SOA force be with you!

Clemens Utschig-Utschig, Sr. Principal Product Manager, Oracle SOA Suite

Harish Gaur, Director, Product Management, Oracle Fusion Middleware

Markus Zirn, VP Product Management, Oracle Fusion Middleware