Book description
Design and develop WS-BPEL executable business processes using Oracle SOA Suite 12c
In Detail
Business Process Execution Language (BPEL, also known as WS-BPEL) has become the de facto standard for orchestrating services in SOA composite applications. It enables the automation of business processes, reduces the gap between business requirements and applications, and allows better alignment between business processes and the underlying IT architecture. BPEL is an open specification and one of the most important pieces of SOA.
This book provides a fast-paced practical introduction to WS-BPEL, one of the centerpieces of SOA. It covers the most important features of BPEL 2.0 and provides several real-world examples to underline its concepts.
What You Will Learn
- Design and develop BPEL 2.0 executable business processes
- Become familiar with BPEL 2.0 activities and the most important usage scenarios
- Learn how to invoke and orchestrate services, manipulate data and use variables
- Implement conditions and loops, and recognize fault-handling capabilities to avoid unexpected states
- Understand message exchange patterns and learn about asynchronous communication channels and dynamic parallel invocations
- Learn about human interactions, human tasks, events and event handling, and compensations
Table of contents
-
WS-BPEL 2.0 Beginner's Guide
- Table of Contents
- WS-BPEL 2.0 Beginner's Guide
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Hello BPEL
- Introduction to BPEL
- Installing Oracle JDeveloper and SOA Suite
- Time for action – installing the JDK and setting environment
- Time for action – installing JDeveloper and SOA Suite
- Time for action – creating a default domain
- Developing our first BPEL process
- Time for action – creating the SOA composite application
- Time for action – creating XML Schema for the BPEL process
- Time for action – modifying WSDL
- Time for action – implementing the BPEL process
- Deploying the first BPEL process
- Time for action – deploying the BPEL process
- Testing our first BPEL process
- Time for action – testing the BPEL process
- Understanding the BPEL language
- The BPEL structure
- Bookstore BPEL process with branches
- Time for action – more sophisticated BPEL process
- Time for action – deploying and testing the second BPEL process
- Summary
-
2. Service Invocation
- Service invocation and orchestration
- Developing the book warehousing process
- Time for action – creating the book warehousing process
- Time for action – developing the book warehousing process
- Understanding sequential invocation
- Understanding partner links
- Parallel service invocation
- Time for action – developing parallel flows
- Understanding a parallel flow
- Summary
-
3. Variables, Data Manipulation, and Expressions
- Variables in BPEL
- Variables in BookWarehousingBPEL
- Time for action – review of existing variables
- Time for action – creating XML type variables
- Time for action – creating XML element variables
- Time for action – creating a message type variable
- Data manipulation and assignments
- Time for action – copying variables
- Expressions
- Time for action – copying variable parts
- Manipulating data for external partner links
- Time for action – creating the AnotherBookstoreBPEL process
- Time for action – extending the BookWarehousing process
- Validating variables
- Time for action – validating variables
- The XSLT transformations
- Time for action – using XSLT transformations
- Summary
-
4. Conditions and Loops
- Conditions
- Time for action – selecting the bookstore with the lowest quantity
- Time for action – implementing VintageBookstore
- Time for action – selecting VintageBookstore
- Loops
- Adding loops to our example
- Time for action – adding the BookOrderManagement process
- Time for action – adding the <while> loop
- Time for action – the <forEach> loop
- Executing <forEach> in parallel
- Time for action – executing <forEach> in parallel
- Delays
- Time for action – adding <wait>
- Ending a process
- Empty activities
- Summary
- 5. Interaction Patterns in BPEL
-
6. Fault Handling and Signaling
- Introducing faults and fault handlers
- Time for action – adding fault handlers
- Modeling execution errors with WS-BPEL 2.0 standard faults
- Modeling logical (explicit) errors with the <throw> activity
- Modeling errors propagated from external web services
- Understanding fault handlers and signaling
- WSDL faults
- Handling faults
- In-line fault handling
- Time for action – signaling faults
- Summary
- 7. Working with Scopes
-
8. Dynamic Parallel Invocations
- Introducing dynamic parallel invocations
- Time for action – adding a <forEach> activity
- Time for action – configuring the <invoke> activity within a <forEach> activity
- Time for action – initializing the input variable within a <forEach> activity
- Initializing a dynamic partner link
- Time for action – initializing a dynamic partner link
- Time for action – appending multiple values to a variable
- Summary
-
9. Human Tasks
- Understanding human tasks
- Preparing an asynchronous example
- Adding a human task to the BookWarehousingBPEL process
- Time for action – creating a human task definition
- Time for action – configuring the human task title
- Time for action – specifying a human task payload
- Time for action – assigning a human task
- Time for action – configuring human task deadlines
- Time for action – configuring human task notifications
- Time for action – invoking a human task from the BPEL process
- Time for action – configuring human task case branches
- Time for action – creating human task forms
- Deploying and testing human tasks
- Time for action – deploying the human task
- Time for action – testing the human task
- Summary
-
10. Events and Event Handlers
- Understanding events
- Developing an event-driven BPEL process
- Time for action – declaring a business event
- Time for action – developing an event-driven book shelving BPEL process
- Triggering a business event from a BPEL process
- Time for action – triggering BookshelfEvent from the book warehousing BPEL process
- Adding an event handler to the Book Warehousing BPEL process
- Time for action – adding an event handler to the BPEL process
- Time for action – adding onEvent to the callback interface
- Time for action – specifying alarm event handler activities
- Time for action – adding a message handler to the BPEL process
- Time for action – declaring the cancel operation on the BPEL process interface
- Time for action – specifying message event activities
- Asynchronous invocations and events
- Time for action – invoking the WarehousingConfirmation service
- Time for action – waiting for callback
- Time for action – waiting for onFault and onEvent callbacks
- Time for action – adding an alarm event for callback
- Summary
- 11. Compensations
-
A. Pop Quiz Answers
- Chapter 1, Hello BPEL
- Chapter 2, Service Invocation
- Chapter 3, Variables, Data Manipulation, and Expressions
- Chapter 4, Conditions and Loops
- Chapter 5, Interaction Patterns in BPEL
- Chapter 6, Fault Handling and Signaling
- Chapter 7, Working with Scopes
- Chapter 8, Dynamic Parallel Invocations
- Chapter 9, Human Tasks
- Chapter 10, Events and Event Handlers
- Chapter 11, Compensations
- Index
Product information
- Title: WS-BPEL 2.0 Beginner's Guide
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781849688963
You might also like
book
Oracle SOA Suite 11g R1 Developer's Guide
Service-Oriented Architecture (SOA) is made easily accessible thanks to this comprehensive guide. With a logically structured …
book
Oracle Service Bus 11g Development Cookbook
This intermediate level cookbook is ideal for SOA developers who want to get the most from …
book
Design Principles for Process-driven Architectures Using Oracle BPM and SOA Suite 12c
A design handbook to orchestrate and manage flexible process-driven systems with Oracle BPM and SOA Suite …
book
BPEL and Java Cookbook
Written by an SOA guru to help you orchestrate web services, the 100 recipes in this …