WS-BPEL 2.0 Beginner's Guide

Design and develop WS-BPEL executable business processes using Oracle SOA Suite 12c

WS-BPEL 2.0 Beginner's Guide

Beginner's Guide
Matjaz B. Juric, Denis Weerasiri

Design and develop WS-BPEL executable business processes using Oracle SOA Suite 12c
$10.00
$54.99
RRP $32.99
RRP $54.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781849688963
Paperback388 pages

About This Book

  • Develop BPEL and SOA composite solutions with Oracle SOA Suite 12c and JDeveloper 12c
  • Understand Human interaction in BPEL and learn how to add human tasks to a BPEL processes
  • Automate business processes with WS-BPEL 2.0
  • Implement and develop compensation and compensation handlers in BPEL processes

Who This Book Is For

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.

Table of Contents

Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 5: Interaction Patterns in BPEL
Understanding asynchronous invocations
Time for action – implementing an asynchronous invocation
Understanding asynchronous service invocations
Time for action – creating an asynchronous BPEL process
Summary
Chapter 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
Chapter 7: Working with Scopes
Introducing scopes
Time for action – adding scopes
Time for action – the fault and termination handlers
Summary
Chapter 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
Chapter 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
Chapter 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
Chapter 11: Compensations
Introducing compensation in business processes
Time for action – adding compensation handlers
Time for action – triggering a fault within the BPEL process
Time for action – triggering compensation for the BPEL process
Summary

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

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.

Authors

Table of Contents

Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 5: Interaction Patterns in BPEL
Understanding asynchronous invocations
Time for action – implementing an asynchronous invocation
Understanding asynchronous service invocations
Time for action – creating an asynchronous BPEL process
Summary
Chapter 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
Chapter 7: Working with Scopes
Introducing scopes
Time for action – adding scopes
Time for action – the fault and termination handlers
Summary
Chapter 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
Chapter 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
Chapter 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
Chapter 11: Compensations
Introducing compensation in business processes
Time for action – adding compensation handlers
Time for action – triggering a fault within the BPEL process
Time for action – triggering compensation for the BPEL process
Summary

Book Details

ISBN 139781849688963
Paperback388 pages
Read More

Recommended for You

BPEL pour les services web : Deuxième Edition [French]
$ 10.00
Business Process Execution Language for Web Services 2nd Edition
$ 10.00
BPEL Cookbook: Best Practices for SOA-based integration and composite applications development
$ 10.00
WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
$ 10.00