BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

14
BPEL Business Process Engineering Language A technology used to build programs in SOA architecture

Transcript of BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Page 1: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

BPEL

Business Process Engineering Language

A technology used to build programs in SOA architecture

Page 2: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Business processes

Page 3: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Business Process

• ProcessProcess is a sequence of steps that is:– initiated by an event,

– transforms its inputs (in many repsects) and

– produces a specified output.

• A business process business process is a set of logically related tasks performed to achieve a well-defined business outcome. – Defines the results to be achieved, the context of the

activities, the relationships between the activities & the interactions with other processes and resources

Page 4: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Pro

cess

-ori

ente

d w

orkf

low

s

Page 5: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Web Services & Business Processes

• Building composite services by combining existing elementary or complex services– requires coordinating the flow of control and

information between the component services. • Business logic can be seen as the ingredient

that sequences, coordinates, and manages interactions among web services.

• Techniques for Web services composability draw heavily on business process modelling and workflow processing languages.

Page 6: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Flow Model

• How to combine?

• Order execution

• Decision points

• Passing data

Page 7: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Transition conditions

Page 8: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

Service Composition

PlacePlaceOrderOrder

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture. Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

SendSend

Rejecti onRejecti on

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

order details

rejection details

client details

invoice

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

ReceiveReceiveOrderOrder

CheckCheckCreditCreditWorthinessWorthiness

CheckCheckInventoryInventory

RequestRequestShipmentShipment

reservecapacity

quantity

quantity

SendSendBillBill

delivery details

deliverydetailsReceiveReceive

BillBill

ReceiveReceiveGoodsGoods

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

I ssueIssue

PaymentPayment

invoice

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

quanti ty

ConfirmConfirmDeliveryDelivery

DespatchDespatchGoodsGoods

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

Qui ckTi me™ and a decompressor

are needed to see thi s pi cture.

deliverydetails

LOGISTICSLOGISTICSPROVIDERPROVIDER

RejectReject

GoodsGoods

InvoiceInvoice

AcquireAcquireGoodsGoods

Page 9: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

WS orchestration vs. choreography

• Orchestration describes how WSs can interact at the message level, from the perspective and under control of a single endpoint (single party).

• Choreography – is associated with the public message exchanges, rules of

interaction & agreements that occur between multiple business process endpoints.

– tracks the sequence of messages that may involve multiple parties & multiple sources, & described from the perspectives of all parties (common view).

Page 10: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.
Page 11: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

BPEL an orchestration language

• models business process collaboration (<partnerLink>s),

• models the execution control of business processes,

• separates abstract definition from concrete binding,

• supports fault handling & compensation,

• supports service composability (structured activities can be nested and combined arbitrarily),

• supports context (<scope> mechanism),

• spawns off & synchronizes processes (<pick> & <receive> activities),

• supports event-handling.

Page 12: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

BP

EL

str

uctu

re

Page 13: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.
Page 14: BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.

BP

EL

abs

trac

t &

exec

utab

le p

roce

sses