E-book details

WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g. Define, model, implement, and monitor real-world BPEL business processes with SOA powered BPM

WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g. Define, model, implement, and monitor real-world BPEL business processes with SOA powered BPM

Matjaz B. Juric, Marcel Krizevnik, Matjaz B Juric

Ebook
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.
  • WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
    • Table of Contents
    • WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
    • Credits
    • Foreword
    • About the Authors
    • About the Reviewers
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Introduction to BPEL and SOA
      • Why business processes matter
      • Business and IT alignment
      • Service-Oriented Architecture
        • BPEL
        • Services
          • How to develop services
        • SOA concepts
          • Services
          • Interfaces
          • Messages
          • Loose Coupling
          • Reusability
          • Registries and repositories
          • Quality of Service
          • Composition of services into business processes
      • SOA building blocks
        • BPEL for process automation
        • Web Services
          • How Web Services differ from their predecessors
          • Web Services technology stack
        • Enterprise Service Bus
          • ESB features
        • Registry and repository
        • Human task support and identity management
        • Process Monitoring or Business Activity Monitoring
        • Business Rules Management Systems (BRMS) or Rule Engine
        • Adapters
        • Service Component Architecture
        • SOA governance
      • Understanding BPEL
        • BPEL features
        • Orchestration and choreography
        • Executable and abstract processes
      • Relation of BPEL to other languages
        • XLANG
        • WSFL
        • BPML
        • ebXML BPSS
        • YAWL
        • WSCL
        • WSCI
        • WS-CDL
        • BPMN
      • BPEL servers overview
      • The future of BPEL
      • Summary
    • 2. Service Composition with BPEL
      • Developing business processes with BPEL
      • Core concepts
        • Invoking services
        • Invoking asynchronous services
        • Synchronous/Asynchronous business processes
        • Understanding links to partners
        • Partner link types
        • Defining partner links
        • BPEL process tag
        • Variables
        • Providing the interface to BPEL processes: <invoke>, <receive>, and <reply>
          • <invoke>
          • <receive>
          • <reply>
        • Assignments
        • Validating variables
        • Accessing variables in expressions
        • XSLT transformations
        • Conditions
        • Activity names
        • Documentation
      • BPEL business process example
        • Involved services
          • Employee Travel Status service
          • Airline service
            • Flight Availability port type
            • Flight Callback port type
        • WSDL for the BPEL process
        • Partner link types
        • Business process definition
          • BPEL process outline
          • Partner links
          • Variables for the Travel Process
          • BPEL process main body
      • Asynchronous BPEL example
        • Modify the BPEL Process WSDL
        • Modify partner link types
        • Modify the BPEL process definition
      • Summary
    • 3. Advanced BPEL
      • Advanced activities
        • Loops
          • While
          • Repeat Until
          • For Each
        • Delays
          • Deadline and duration expressions
        • Empty activities
        • Ending a process
      • Fault handling and signaling
        • WSDL faults
        • Signaling faults
          • Signaling faults to clients in synchronous replies
            • Example
          • Signaling faults to clients in asynchronous scenarios
        • Handling faults
          • Selection of a fault handler
          • Synchronous example
          • Asynchronous example
          • Propagating faults
          • Default fault handler
          • Inline fault handling
      • Scopes
        • Example
          • First scope
          • Second scope
          • Third scope
        • Isolated scopes
      • Compensation
        • Compensation handlers
          • Example
          • Default compensation handler
        • Invoking compensation handlers
      • Termination handler
        • Default termination handler
      • Managing events
        • Pick activity
          • Message events
          • Alarm events
          • Example
        • Event handlers
          • <onEvent>
            • Example
          • <onAlarm>
            • Example
      • Business process lifecycle
      • Correlation and message properties
        • Message properties
          • Mapping properties to messages
          • Extracting properties
          • Properties and assignments
        • Correlation sets
        • Using correlation sets
      • Concurrent activities and links
        • Sources and targets
          • Example
        • Transition conditions
        • Join conditions and link status
        • Join failures
          • Suppressing join failures
      • Dynamic partner links
      • Message exchanges
        • From-parts and to-parts
          • <fromParts>
          • <toParts>
      • Abstract business processes
      • Generating BPEL from BPMN diagrams
      • Summary
    • 4. Using BPEL with Oracle SOA Suite 11g
      • Overview
        • BPEL Component Designer
        • BPEL Service Engine
        • Database
        • Enterprise Manager Console (EM)
      • Building composite applications with SOA Composite Editor
        • Service components
        • Binding components
        • Wires
      • Development of BPEL processes in JDeveloper
        • Defining XML schemas
        • Defining a WSDL interface
        • Creating an SOA composite application
          • Adding the BPEL Process service component
          • Adding references
        • BPEL process implementation
          • Adding partner links
          • Adding variables
          • Adding process activities
          • Validating BPEL processes
      • Testing SOA composite applications
      • Deploying SOA composite applications
        • Deploying from JDeveloper
          • Creating configuration plans in JDeveloper
        • Deploying using Ant Scripts
      • Managing SOA composite applications
        • Managing SOA composites using JDeveloper
        • Managing SOA composites using Enterprise Manager Console
          • Deploying and undeploying SOA composite applications
          • Initiating an SOA composite application test instance
          • Viewing the SOA composite instances flow trace
          • Automatic testing of SOA composite instances
      • Developing and deploying BPEL 2.0 processes
      • Summary
    • 5. BPEL Extensions, Dynamic Parallel Flow, Dynamic Partner Links, Notification Service, Java Embedding, and Fault Management Framework
      • Extension functions and activities
        • Transformation and query support
        • Data and array manipulation
        • XML manipulation
        • Date and time expressions
        • Process identification
        • LDAP access and user management
      • Dynamic parallel flow
        • Dynamic flow example
        • Providing a list of partner links
        • Dynamic parallel invocation of airline services
        • Dynamic partner links
        • Offer selection loop
        • Testing the example
      • Notification Service
        • Setting the Email Driver
        • Sending e-mail notifications
          • Review of code
          • Testing the example
      • Java code embedding
        • Invoking a Java class from embedded code
      • Fault management framework
        • Creating a fault policy
      • Summary
    • 6. Entity Variables, Master and Detail Processes, Security, and Business Events in BPEL
      • Entity variables
        • Altering the EMPLOYEES table
        • Creating the data source
        • Creating the ADF-BC service
        • Modifying the SOA composite application
        • Testing the entity variable
      • Master and Detail processes
        • Creating the Detail process
        • Modifying the Master process
        • Adding <signal> and <receiveSignal> activities
        • Testing the Master-Detail coordination
      • Securing SOA composite applications
        • Attaching and detaching policies in JDeveloper
        • Managing policies in the Enterprise Manager console
        • Testing security
      • Using business events in BPEL
        • Defining the business event
        • Modifying the BPEL process
        • Testing the SOA composite application
      • Summary
    • 7. Human Interactions in BPEL
      • Human interactions in business processes
      • Human Tasks in BPEL
        • Human Task integration with BPEL
        • Oracle Human Workflow concepts
        • Workflow patterns
      • Creating Human Task definitions
        • Configuring a Human Task title and outcomes
        • Configuring Human Task payload
        • Configuring Human Task assignments
        • Configuring Human Task deadlines
        • Configuring Human Task notifications
      • Using Human Tasks in BPEL processes
        • Creating variable and adding <switch> activity
        • Adding a Human Task
        • Configuring Human Task case branches
      • Creating Human Tasks forms
        • Auto-generating a task form
        • Modifying the task form
      • Deploying the SOA composite and task form
      • Using the Oracle BPM Worklist application
        • Logging into the BPM Worklist application
        • Completing the task
        • Testing Human Task expiration
      • BPEL4People
        • Brief look at WS-HumanTask
          • Overall structure
          • Human Tasks
          • Escalations
          • Notifications
          • Programming interface
        • Brief look at BPEL4People
          • Overall structure
          • People assignments
          • People activities
      • Summary
    • 8. Monitoring BPEL Processes with BAM
      • Business Activity Monitoring
      • Oracle BAM architecture and features
        • Oracle BAM Server
        • Oracle BAM web applications
      • Gathering BAM data from a BPEL process
        • Monitoring objects
        • Sensors and sensor actions
      • Introduction to demonstration scenario
      • Enabling activity monitoring
      • Using monitoring objects
        • Creating a Business Indicator monitoring object
      • Using sensors
        • Creating BAM data objects
        • Creating a BAM server connection
        • Creating sensors and sensor actions
      • Using the BAM Adapter partner link
      • Deploying an SOA composite application
        • Checking created data objects
        • Testing data objects
      • Building the BAM dashboard
        • Creating a report and choosing a report template
        • Displaying a list of process instances
        • Displaying the percentage of confirmed flight tickets
        • Displaying the number of reserved tickets by airline
        • Displaying the effectiveness of the Approval Manager
        • Testing the dashboard
      • Summary
    • 9. BPEL with Oracle Service Bus and Service Registry
      • Oracle Service Bus architecture and features
        • Proxy services and business services
        • Message flow modeling
      • Oracle Service Registry
        • Logging into Oracle Service Registry
        • Publishing a business entity
        • Publishing a business service
      • Using Oracle Service Bus Console
        • Creating a project and importing resources from OSR
          • Creating a connection to Oracle Service Registry
          • Importing resources from Oracle Service Registry
        • Configuring a business service
          • Enabling service result caching
          • Enabling service monitoring
        • Testing a business service
        • Creating an Alert destination
        • Creating a proxy service
          • Configuring Message Flow
        • Testing a proxy service
        • Publishing a proxy service to the Oracle Service Registry
      • Re-wiring an SOA composite application
      • Oracle Service Bus use case
        • Modifying the Proxy message flow
        • Testing an SOA composite application
      • Summary
    • 10. BPMN to BPEL Round-tripping with BPA Suite and SOA Suite
      • Oracle BPA Suite architecture and features
      • Round-tripping between BPMN and BPEL
        • Steps for BPMN-BPEL round-tripping
        • Mapping of BPMN constructs to BPEL
        • Mapping of BPEL constructs to BPMN
      • Demonstration scenario
      • Business process modeling in Business Process Architect
        • Creating the database
        • Modeling a business process
          • Creating a new model
          • Adding process activities and defining activity flow
          • Editing object properties
          • Adding a start event
          • Adding automated activities
          • Adding a human task
          • Completing the Process model
        • Transforming a business process into BPEL
      • Using BPEL Blueprints in Oracle JDeveloper
        • Creating a connection to the BPA Repository
        • Creating an application and an SOA Project
        • Understanding the generated BPEL code
      • BPMN-BPEL round-tripping
        • Propagating changes from BPMN to BPEL
          • Modifying the BPMN model
          • Refreshing BPEL Blueprint
        • Propagating changes from BPEL to BPMN
          • Adding process steps to the BPEL
          • Updating the BPMN model
      • Summary
    • 11. Integrating BPEL with BPMN using BPM Suite
      • Oracle BPM Suite architecture and features
      • Demonstration scenario
      • Business Process Modeling and implementation in Oracle BPM Studio
        • Creating a BPM application and project
        • Creating a BPMN process
        • Overview of Oracle BPM Studio
        • Implementing a BPMN process
          • Creating data objects
          • Configuring start and end events
          • Invoking synchronous service
          • Adding the first BPEL process
          • Invoking a BPEL process from BPMN
          • Adding a human task
          • Adding a second BPEL process
          • Completing the process
        • Deploying a BPM project
      • Testing an SOA composite application
        • Initiating an SOA composite instance
        • Completing the human task using Oracle BPM Workspace
      • Summary
    • Index
  • Title: WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g. Define, model, implement, and monitor real-world BPEL business processes with SOA powered BPM
  • Author: Matjaz B. Juric, Marcel Krizevnik, Matjaz B Juric
  • Original title: WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g. Define, model, implement, and monitor real-world BPEL business processes with SOA powered BPM.
  • ISBN: 9781847197955, 9781847197955
  • Date of issue: 2010-09-06
  • Format: Ebook
  • Item ID: e_3b0j
  • Publisher: Packt Publishing