Web Service - Orchestration
What is Orchestration ?
An arrangement of events that attempts to
achieve a maximum(music) effect.
What is Orchestration in WS world?
Co-ordination of events between
different web services
Orchestration directs and manages the
on-demand services, to create a
composite application or business
process
Divide and Conquer
Your Big Problem Space
Application e.g. Booking flight ticket
Separation of Small Small Small
issues/concerns Problem Problem Problem
Small Small Small
Problem Problem Problem
Divide and Conquer
Small Small Small Small
Problem Problem Problem Problem
S-B S-C S-D
Divide and Conquer
S-B S-C
S-D S-D S-D
Solves the Big Problem
BPEL
What is BPEL ?
A programming language for specifying
business process within a service-oriented
architecture .
Overview of BPEL Activities
Message Exchange
<invoke> <receive>…<reply>
Data Manipulation
<assign>
Control Flow
<if> …. <else>
<while>
<repeatUntill>
Overview of BPEL Activities
Parallel processing
<forEach>,<flow>with<link>’s
Event Processing and timers
<pick>,<onEvent>, <onMessage>,
<onAlarm>
Exception and error handling
<throw>,<catch>,<compensate>
Miscellaneous
<wait>, <empty>, <validate>,…..
How is BPEL used in business?
Consider booking a business trip as an example where BPEL can be
used. An employee starts the workflow for booking a flight.
A list of available flights is pulled from a travel website.
They select one. Their manager receives a notification and clicks a
button to approve the expense. The system generates and sends a
purchase order to accounting, and then books the flight on the airline
website. It enters the expense and approval into the finance tracking
software, and then sends the booking information and schedule to the
employee and manager.
Simple Use-Case
BPEL
BPEL - Compensation
BPEL-Compensation
BPEL – Compensation & Fault Handler
BPEL - Compensation
BPEL is not
BPEL is not
BPEL is not