Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g

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.

eBook
₹799.99 ₹4587.99
Paperback
₹5734.99
Subscription
Free Trial
Renews at ₹800p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

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

Chapter 2. Service Composition with BPEL

In this chapter, we will get familiar with BPEL concepts, and discuss composing services with BPEL. We will look at how to develop executable business processes. In a nutshell, we will:

  • Discuss service composition with BPEL

  • Explain how business processes are defined in BPEL

  • Get familiar with core concepts including:

    • The structure of BPEL process definitions

    • Invoking services

    • Synchronous and asynchronous processes

    • Partner links

    • The role of WSDL

    • Important activities and other constructs

    • Define an example BPEL process

Developing business processes with BPEL

BPEL uses an XML-based vocabulary that allows us to specify and describe business processes. BPEL is a programming language. Most development environments that support BPEL, such as Oracle JDeveloper, IBM WebSphere Integration Developer, or Eclipse usually provide a visual editor, where we can compose BPEL processes by dragging and dropping the BPEL activities in a visual way. However, the majority of tools also...

Developing business processes with BPEL


BPEL uses an XML-based vocabulary that allows us to specify and describe business processes. BPEL is a programming language. Most development environments that support BPEL, such as Oracle JDeveloper, IBM WebSphere Integration Developer, or Eclipse usually provide a visual editor, where we can compose BPEL processes by dragging and dropping the BPEL activities in a visual way. However, the majority of tools also allow a switch to the source view, where you can enter the BPEL code directly. A BPEL visual representation is generated out of BPEL code. In this chapter we will look at the BPEL code.

With BPEL, you can describe business processes in two distinct ways:

  • Executable business processes: They specify the exact details of business processes and can be executed by a BPEL process server. In the majority of cases, we will use BPEL to specify executable processes.

  • Abstract business processes: They process templates or public message exchange between...

Core concepts


A BPEL process consists of steps. Each step is called an activity. BPEL supports basic and structured activities. Basic activities represent basic constructs and are used for common tasks, such as those listed below:

  • Invoking other Web Services, using<invoke>

  • Waiting for the client to invoke the business process by sending a message, using<receive> (receiving a request)

  • Generating a response for synchronous operations, using<reply>

  • Manipulating data variables, using<assign>

  • Indicating faults and exceptions, using<throw>

  • Waiting for some time, using<wait>

  • Terminating the entire process, using<exit>

We can then combine these and other basic activities and define complex flows that specify exactly the steps of a business process. To combine basic activities, BPEL supports several structured activities. The most important are:

  • Sequence (<sequence>), for defining a set of activities that will be invoked in an ordered sequence

  • Flow...

BPEL business process example


To demonstrate how business processes are described with BPEL, we will define a simple business process for business travels. Let us consider the business travel process. We describe an oversimplified scenario, where the client invokes the business process, specifying the name of the employee, the destination, the departure date, and the return date. The BPEL business process first checks the employee travel status. We will assume that a service exists through which such a check can be made. Then the BPEL process will check the price for the flight ticket with two airlines American Airlines and Delta Airlines. Again we will suppose that both airline companies provide a service through which such checks can be made. Finally, the BPEL process will select the lower price and return the travel plan to the client.

For the purpose of this example, we first build a synchronous BPEL process, to maintain simplicity. This means that the client will wait for the response...

Asynchronous BPEL example


Our first BPEL business process example was synchronous because this was the easiest case. However, in the real world, we will mostly use asynchronous processes. Most business processes are long running. It makes no sense for a client to wait (and be blocked) for the entire duration of the process. A much better alternative is to model the BPEL process as asynchronous. This means that the client invokes the process, and when the process completes, it performs a callback to the client. This has a few consequences:

  • For the BPEL process to be able to perform a callback to the client, the client must be a service and implement a certain port type (usually defined by the BPEL process WSDL)

  • The partner link type for the client will have to specify two roles

  • The BPEL process will not<reply> to the client. Rather it will<invoke> the callback

Let us now focus on our business process and modify it for asynchronous invocation, presented in the next sequence diagram...

Summary


In this chapter, you have become familiar with the basic concepts of service composition with BPEL. BPEL is an XML-based language for business process definition. Each process has a set of activities and interacts with partner services. The BPEL process is also a service.

With BPEL, we can define executable and abstract business processes. In this chapter, we have focused on executable processes. They define exactly the activities of the processes and can be executed on a BPEL-compliant server. We have overviewed the basic concepts of BPEL, described how to invoke services synchronously and asynchronously, and discussed the role of WSDL. BPEL processes can be synchronous or asynchronous and we have overviewed both options. Web Services with which a BPEL process interacts are called partner services. Therefore, we have explained the concepts of partner link types and partner links.

We have overviewed the most important activities for invoking operations, receiving messages, and returning...

Left arrow icon Right arrow icon

Key benefits

  • Develop BPEL and SOA composite solutions with Oracle SOA Suite 11g
  • Efficiently automate business processes with WS-BPEL 2.0 and develop SOA composite applications.
  • Get familiar with basic and advanced BPEL 2.0.
  • Detailed explanation of advanced topics, such as security, transactions, human workflow, process monitoring, transition from BPMN to BPEL, dynamic processes, fault handling, etc., enabling you to work smarter and more efficiently.
  • Step-by-step real-world examples to learn and manage various advanced aspects of BPEL development using Oracle SOA Suite 11g, JDeveloper, Oracle Service Bus, Oracle Service Registry, Oracle Enterprise Repository, BPM Suite and BPA Suite

Description

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.

Who is this book for?

This book is aimed at SOA architects and developers involved in the design, implementation, and integration of composite applications and end-to-end business processes. The book provides comprehensive coverage of WS-BPEL 2.0 for implementing business processes and developing SCA composite application, dealing with the issues of composition, orchestration, transactions, coordination, and security. This book uses Oracle SOA Suite 11g and related Oracle products. To follow this book you need to have basic knowledge of XML, web services, and Java EE.

What you will learn

  • Fully understand the role of BPEL in SOA and the overall understanding what BPEL is, and why it is important
  • Compose business processes in BPEL
  • Explore BPEL 2.0 activities, loops, decisions, flow control, variables, scopes and other constructs that will enable you to develop BPEL processes.
  • Dig into advanced BPEL topics, such as fault handlers, event handlers, compensation, concurrent activities, links, correlations, message properties, dynamic partner links, process lifecycles, and more.
  • Examine human workflow in BPEL, including BPEL4People and WS-HumanTask.
  • Secure BPEL processes and defining transactional boundaries.
  • Examine the advanced features of BPEL Process Manger such as BPEL extensions, dynamic parallel flow, notification service, Java embedding, fault management framework, entity variables, master and detail processes.
  • Utilize business events in BPEL.Monitor BPEL processes using Oracle BAM.
  • Use BPEL with Oracle Service Bus and Oracle Service Registry.
  • Generate BPEL from BPMN and round-trip the changes with BPA Suite and BPM Suite.
  • Govern BPEL processes with Oracle Enterprise Repository.
  • Develop and control the full BPM life cycle using Oracle SOA Suite 11g, JDeveloper, Oracle BAM, Oracle Service Bus, Oracle Service Registry, BPA and BPM Suite, and Oracle Enterprise Repository.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 06, 2010
Length: 616 pages
Edition : 1st
Language : English
ISBN-13 : 9781847197955
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 06, 2010
Length: 616 pages
Edition : 1st
Language : English
ISBN-13 : 9781847197955
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
₹800 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
₹4500 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts
₹5000 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 17,205.97
WS-BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
₹5734.99
Oracle SOA Suite 11g Administrator's Handbook
₹4915.99
Oracle SOA Suite 11g R1 Developer's Guide
₹6554.99
Total 17,205.97 Stars icon

Table of Contents

11 Chapters
Introduction to BPEL and SOA Chevron down icon Chevron up icon
Service Composition with BPEL Chevron down icon Chevron up icon
Advanced BPEL Chevron down icon Chevron up icon
Using BPEL with Oracle SOA Suite 11g Chevron down icon Chevron up icon
BPEL Extensions, Dynamic Parallel Flow, Dynamic Partner Links, Notification Service, Java Embedding, and Fault Management Framework Chevron down icon Chevron up icon
Entity Variables, Master and Detail Processes, Security, and Business Events in BPEL Chevron down icon Chevron up icon
Human Interactions in BPEL Chevron down icon Chevron up icon
Monitoring BPEL Processes with BAM Chevron down icon Chevron up icon
BPEL with Oracle Service Bus and Service Registry Chevron down icon Chevron up icon
BPMN to BPEL Round-tripping with BPA Suite and SOA Suite Chevron down icon Chevron up icon
Integrating BPEL with BPMN using BPM Suite Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(2 Ratings)
5 star 50%
4 star 50%
3 star 0%
2 star 0%
1 star 0%
Pierluigi Vernetto Mar 21, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
"BPEL with SOA Suite" goes very deep in the strategic and historical reasons behind the creation of BPEL. It focuses mostly on those programming paradigms missing from traditional languages and which should have driven your company to the adoption of a BPEL engine and of a Service Bus. Compensation, parallel flows, correlation of asynchronous flows are illustrated here to a dizzying technical depth.In a previous project there was a lot of debate on what should go in our BPEL and what in the SB (OSB) and how to integrate the two: in the chapters on ESB OSB I found clear usage patterns for both.The usually overlooked subject of Repositories and Registries is covered with attention to the needs of developers and delivery managers.For the first time I understood the differences between orchestration and choreography, how to approach fault handling and compensation, how to apply the interoperability between BPMN and BPEL.There are several example illustrating correlation,compensation,joins, which are advanced enough to make a BPEL guru out of you once you have understood them.Reading this book on "BPEL with SOA Suite" was a major source of inspiration, but it definitely requires some background. If you are looking for a quick tutorial on how to write your first HelloWorld BPEL process,you might start with another book "Getting Started With Oracle SOA Suite 11g R1".On the whole I felt that this books is a good compromise between an academic conceptual approach of integration issues - very useful from an architectural standpoint - and a more hands-on, let's-play-with-the-tool approach very appreciated by developers. It's an immense source of "pearls of wisdom" and it adopts a very refined technical vocabulary. Master the concepts illustrated in this book and you will be top notch.
Amazon Verified review Amazon
srikant vaidya Dec 09, 2014
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
True to its title, this book is less in theory and more in practicals. People who are new to SOA will find it encouraging and helpful while navigating several features of SOA 12c, and people who have already into SOA will find it easy to find what is new in 12c. Each chapters goes into details about each features along with tips and practical examples. Each feature is explained via "Time for Action", section followed by "What just happened", where it gives enough details about the action you did. Apart from this it also challenges the reader, to try things on their own via "Have a go Hero" section. This book has devoted entire chapter on Fault handling and signaling. It also briefly describes the (EDA) and gives examples to develop event driven BPEL process. This book does provides in-depth coverage of WS-BPEL 2.0, and gives practical development examples on how to move from simple to more complex BPEL applications.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.