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
Free Learning
Arrow right icon
Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial
Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial

Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial: Your step-by-step, hands-on guide to Oracle SOA BPEL PM 11gR1

eBook
€8.99 €36.99
Paperback
€45.99
Subscription
Free Trial
Renews at €18.99p/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

Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial

Chapter 2. Configuring BPEL Processes

Web applications usually have business logic, workflow, integration with existing enterprise applications such as SAP/JDE/EBS/SDFC, and packages such as Java/ASP.NET. An example of workflow that can be part of a web application is order processing. A typical order processing workflow contains references to services, or in other words, consumes services such as create order, process payment, send order to warehouse, check inventory, process, and send order to customers. The order processing service illustrates a typical Business Process Execution Language (BPEL) process scenario.

BPEL is a replacement to simplify your workflow and also, to some extent, a replacement to the custom code that describes and implements the business workflow. Typical web applications require more than one service to fulfill the business requirements. The key challenges are: how to create the services and how to orchestrate the services. We can use BPEL for describing, integrating...

Understanding the BPEL language framework


BPEL is an XML-based language for creating end-to-end process flow. BPEL is based on the WS-BPEL 2.0 specification and built on the Web Services Description Language (WSDL) 1.1 specifications.

A BPEL process always starts with a process element. A process element must have at least one activity. Activities are the core of the BPEL language framework. Usually a process element also has several attributes. The basic structure of the BPEL code is as follows:

<process name="ncname">
  
<!-- Activities  -->
</process>

Every BPEL has activities such as <receive>, <reply>, and <invoke>. Activities describe different action steps in a BPEL process that enable the interaction with external and internal services. Note, that Oracle BPEL also allows interaction with JCA adapters and EDN.

The most important concepts of BPEL are activities, partner links, variables, correlation, and handlers. The BPEL processes expose WSDL interface...

BPEL activities


BPEL processes have a series of steps and each step is an activity. BPEL process logic is performed by the activities. For clients, BPEL processes looks like any other web service. In other words, a BPEL process is a web service that coordinates, integrates, and orchestrates the basic web services to serve a business function. OASIS WS-BPEL specifications classify activities in the following categories:

  • Basic activities: Enables the process behavior such as invoking and performing web services operations, updating variables, and partner links

  • Structured activities: Enables the control flow logic such as flow control activities

Creating basic activities in BPEL

Launch JDeveloper and perform the following steps to create a basic BPEL process:

  1. The first step is to set up the application. In JDeveloper, the term "application" is used for specifying the workspace. An application can have one or more projects. An application has a project for defining the models and one or more projects...

Selecting the timeout value for synchronous processes


Synchronous processes have a default timeout of 60 seconds. If the synchronous flow takes more than 60 seconds, we must increase the timeout by configuring the Timeout property for the Receive activity.

As shown in the following screenshot, edit the Receive activity and add a Timeout value. Chapter 3, Invoking a BPEL Process, covers more details of Timeout:

The timeout property can be added in the Partner Link as well. The following screenshot shows how to add a timeout value for synchronous processes in JDeveloper. Right-click and edit the process that requires the timeout value.

Click on the Property tab on the Edit Partner Link window. As shown in the following screenshot, click on the green + sign to add the timeout property. Please note that the timeout value set here is a client timeout:

BPEL correlation


Correlation is a process that matches incoming messages to a particular BPEL process instance. Synchronous BPEL does not require correlation. Correlation is only required for asynchronous BPEL processes.

Oracle BPEL Process Manager automatically establishes correlation using WS-Addressing. However, manual content-based correlation is required if the asynchronous service doesn't support WS-Addressing or the BPEL message is coming from an external system.

Oracle BPEL Processor Manager has the following two methods for correlating asynchronous callback messages to the calling instance.

  • WS-Addressing

  • Correlation sets

One needs to write a manual correlation for the following scenarios:

  • Calling service does not support WS-Addressing.

  • When the asynchronous call has multiple layers. For example, Service A calls B, B calls C, and C Calls D. Response comes from D to A (instead of D to C to B to A). Another option in this scenario is to manipulate the replyTo header without implementing custom...

Creating property aliases


Property alias is for telling the BPEL process how to extract the value of the property from the specified message. The property aliases assist us in mapping a property to a field in a specific message part and that can be used in XPath expressions. Multiple property aliases may be required for correlation, such as the one for instantiation and another one for validation.

To create a property alias in JDeveloper, double-click on the Property Aliases icon, as shown in the following screenshot. Select the correlation set to associate with a property alias. If the message part is an element or a complex type, you can define an XPath query to identify the location of the property within the element or type. In the Query field, add appropriate XPath expressions. An XPath expression is for navigating within an XML document and helps to directly define a part of the XML document.

As a final verification, you may review the WSDL file content to ensure that the properties...

Adapters


Adapters facilitate a configurable integration among disparate business systems without worrying about underlying frameworks, tools, and technologies used in implementation of an individual business system. Use of adapters enable reusability of existing applications and systems, therefore, it increases ROI and provides agility for any organization.

The Oracle SOA Suite's adapters are designed and developed using the J2EE Connector Architecture (JCA). Oracle provides adapters to integrate various packaged applications, legacy applications, databases, middleware messaging systems, and web services.

BPEL processes may require working with multiple external resources. The following are some of the common use cases for BPEL processes to connect to as part of your application(s):

  • An external filesystem for retrieving data or writing data either over FTP or locally-mounted NFS

  • A database for Create, Read, Update, and Delete (CRUD) data

  • Message Oriented Middleware (MOM) for asynchronous or...

Summary


In this chapter, we learned the details of Business Process Execution Language (BPEL) structure, language framework, adapters, and how to create a BPEL process using Oracle JDeveloper IDE. We also learned the use cases and implementation steps for synchronous BPEL processes, asynchronous BPEL processes, manual correlations, and human tasks. In the next chapter, you will learn how to invoke BPEL processes from Java and vice versa. You will also learn about BPEL processes transaction timeout.

Left arrow icon Right arrow icon

Key benefits

  • Learn by doing, with immediate results
  • Create, integrate, and troubleshoot BPEL services with Oracle BPEL Process Manager and JDeveloper step by step
  • Design, develop, test, deploy, and run a full SOA composite application using industry leading practices

Description

BPEL, Business Process Execution Language is the definitive standard in writing and defining actions within business processes. Oracle BPEL Process Manager R1 is Oracle's latest offering, providing you with a complete end-to-end platform for the creation, implementation, and management of your BPEL business processes that are so important to your service-oriented architecture."Oracle SOA BPEL Process Manager 11gR1 – A Hands-on Tutorial" is your guide to BPEL design and development, SOA Suite platform troubleshooting, and engineering in a detailed step-by-step guide working real-world examples and case studies. Using industry-leading practices you will start by creating your first BPEL process and move onto configuring your processes, then invoking, orchestrating, and testing them. You will then learn how to use architect and design services using BPEL, performance tuning, integration, and security, as well as high availability, troubleshooting, and modeling for the future. "Oracle SOA BPEL Process Manager 11gR1 – A Hands-on Tutorial" is your complete hands-on guide to Oracle SOA BPEL Process Manager 11g.

Who is this book for?

Written for SOA developers, administrators, architects, and engineers who want to get started with Oracle BPEL PM 11g. No previous experience with BPEL PM is required, but an understanding of SOA and web services is assumed

What you will learn

  • Learn BPEL language and create basic and complex BPEL processes using JDeveloper and Oracle SOA Suite BPEL Process Manager Platform
  • Follow step-by-step instructions for creating and configuring adaptors, human workflow, and advanced BPEL orchestration techniques
  • Practise deploying, testing, debugging, tuning, error handling, and troubleshooting Oracle SOA Suite Platform and BPEL processes
  • Integrate BPEL Process manager with Oracle Service Bus, Business Rules Engine, Business Activity Monitoring (BAM), and Single-Sign-On (SSO)
  • Learn how to achieve scalability, high availability, and failover-failback capabilities to deliver Business Continuity and Disaster Recovery (BCDR) objectives
  • Discover the evolution and future of BPEL and compare BPEL with BPMN and other leading process technologies

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 20, 2013
Length: 330 pages
Edition : 1st
Language : English
ISBN-13 : 9781849688994
Vendor :
Oracle
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 : Jun 20, 2013
Length: 330 pages
Edition : 1st
Language : English
ISBN-13 : 9781849688994
Vendor :
Oracle
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 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
€189.99 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 €5 each
Feature tick icon Exclusive print discounts
€264.99 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 €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 140.97
Oracle SOA Governance 11g Implementation
€48.99
Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial
€45.99
Oracle SOA Suite 11g Performance Tuning Cookbook
€45.99
Total 140.97 Stars icon
Banner background image

Table of Contents

12 Chapters
Creating Basic BPEL Processes Chevron down icon Chevron up icon
Configuring BPEL Processes Chevron down icon Chevron up icon
Invoking a BPEL Process Chevron down icon Chevron up icon
Orchestrating BPEL Services Chevron down icon Chevron up icon
Test and Troubleshoot SOA Composites Chevron down icon Chevron up icon
Architect and Design Services Using BPEL Chevron down icon Chevron up icon
Performance Tuning – Systems Running BPEL Processes Chevron down icon Chevron up icon
Integrating the BPEL Process Manager with Service Bus, Registry, and SOA Deployment Chevron down icon Chevron up icon
Securing a BPEL Process Chevron down icon Chevron up icon
Architecting High Availability for Business Services Chevron down icon Chevron up icon
The Future of Process Modeling Chevron down icon Chevron up icon
Troubleshooting Techniques Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(1 Ratings)
5 star 0%
4 star 0%
3 star 100%
2 star 0%
1 star 0%
Waslley Souza May 23, 2014
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
"Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial", published by Packt Publishing in my opinion is not a hands-on tutorial, but an overview about BPEL, SOA Suite and other Oracle SOA Components like BPM Suite and ESB. Inside this book you will find some explanations about these tools, but nothing too detailed.With this book you will learn how to install the SOA Suite and JDeveloper, create a SOA domain, create a simple BPEL process, configure some BPEL features and a little bit about architecture, performance tuning and troubleshooting.Two points to mention: 1) The author could explore more and show other BPEL process examples. 2) The chapters about performance and troubleshooting have a lot of tips, but in a book for begginers, it can be boring.This book is recommended for begginer level readers working with BPEL in Oracle SOA Suite, but I think this is not the best book to start your learning about BPEL. You can use a book with more BPEL process examples.
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.