28
Prof. Dr. Frank Leymann Director, Institute of Architecture of Application Systems Former IBM Distinguished Engineer OASIS BPEL Webinar: Frank Leymann Input (OASIS Webinar, March 12th, 2007)

OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

Prof. Dr. Frank LeymannDirector, Institute of Architecture of Application Systems

Former IBM Distinguished Engineer

OASIS BPEL Webinar:Frank Leymann Input

(OASIS Webinar, March 12th, 2007)

Page 2: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

2© Frank Leymann

BPEL’s Role in SOA

Page 3: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

3© Frank Leymann

Messaging

Quality of Service

Transport

Description

Transports

Interface + Bindings

Composite

XML Non-XML

Security

Policy

Discovery, N

egotiation, Agreem

ent

Atomic

ProtocolsProtocols StateState Components

ReliableMessaging Transactions

We are here!

BPELBPELOrchestrationOrchestration

BPEL in the Web Service Stack

Page 4: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

4© Frank Leymann

A Typical Situation

pt3

o1

o2

pt1

o1

o3

o4

pt2

o2

o4

Often, you needmore than one

service to achieveyour goal!

????????

Which ones to use?How to use them?

In which order?… ???

Page 5: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

5© Frank Leymann

BPEL Prescribes Proper Use of Web Services

X

Y

Z

pt3

o1

o2

pt1

o1

o3

o4

pt2

o2

o4

P

Q

Wow!This is easy ☺

Page 6: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

6© Frank Leymann

…and Externalizes Processes as Web Services

X

Y

Z

pt3

o1

o2

pt1

o1

o3

o4

pt2

o2

o4

P

Qpt

o2

pt*

o8

o9

o1

Page 7: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

7© Frank Leymann

BPEL in SOA: Abstract View

“BPEL is arecursive aggregation model

for Web services”

Aggregation: A set of Web services can be tied into one or more new Web service by means of a business process model

Recursive: These new Web services can again be tied into other new Web services

Page 8: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

8© Frank Leymann

BPEL in a Nutshell: Elevator Speech

BPEL describe in a SOA how your company performs its business processes

With BPEL, it is straightforward to let your business partners and customers directly participate in your business processes

With BPEL, it is straightforward to tie in Web services as activities of your business processes

Page 9: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

9© Frank Leymann

BPEL andBusiness Process Modeling

Page 10: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

10© Frank Leymann

A Well-Known ProblemHow to make money?

Capital & Work Force,Business Models,

Organizational Structures

Application Systems,Transactions & Data,

Hardware InfrastructureHow to support business with IT?

Business-IT-Gap

ExecutiveFocus

IT PersonnelFocus

Page 11: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

11© Frank Leymann

Key Aspect of a Solution

How to make money?Capital & Work Force,

Business Models,Organizational Structures

Application Systems,Transactions & Data,

Hardware InfrastructureHow to support business with IT?

Business-IT-GapBusiness Processes

ExecutiveFocus

IT PersonnelFocus

Page 12: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

12© Frank Leymann

Today’s Landscape for Process Management

Business-Level

IT-Level

ModelingTool1

ModelingTooln

ModelingTool2

ProcessEngine1

ProcessEnginek

ProcessEngine2

SpecificTool1

SpecificToolk

SpecificTool2

ModelingTool3

How to make models run on particular engine?Managing

Business Processes

Page 13: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

13© Frank Leymann

What’s the Problem?Vast amount of business level methodologies and corresponding tools

…which will never go away… (see next slide)Process engines have historically grown upProcess model must be transformed into a format that can be executed within the process engine of your favorite vendorDifferent vendors process engines support different capabilities

…different syntax, terminology, concepts,……different operational semantics…

The real problem!…And all that is different from business level syntax, terminology, concepts, operational semantics,…Thus, transformation from business level into IT level always looses informationBusiness level tool vendor has to support multiple transformations

Page 14: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

14© Frank Leymann

Business-Level Modeling

Business-level modeling comes with a whole methodology, often developed by business schoolsDifferent methodologies compete (“method war” ☺)Number of business-level methodologies is very large

Chances to unify them is very low

Very likely, there will always be different business-level modeling tools

Page 15: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

15© Frank Leymann

BPELTool1

BPELToolk

BPELTool2

What BPEL Brings to the Table

Business-Level

IT-Level

ModelingTool1

ModelingTooln

ModelingTool2

BPEL Tool

ModelingTool3

BPELEngine1

BPELEnginek

BPELEngine2

BPEL Engine

Page 16: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

16© Frank Leymann

BPEL Value: First Glance

Single business process language for IT-users

Single runtime modelSingle IT-level toolingSingle target model all business-level tools can map too

Reuse of IT-level process models across tools and process engines

Investment protectionReduced total cost of ownership: Simplification of overall infrastructure

Page 17: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

17© Frank Leymann

“BPEL is for process/workflow technologywhat SQL is for relational databases!”

Did I Say “Table”?

Page 18: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

18© Frank Leymann

BPEL and Tool Interoperability

BPEL Engine

BPELTool1

BPELToolk

BPELTool2

.bpel

Page 19: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

19© Frank Leymann

BPEL Tool

BPEL & Common Operational Semantics

BPELEngine1

BPELEnginek

BPELEngine2

Deployment

.bpel

Page 20: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

20© Frank Leymann

Usage ofAbstract Processes

Page 21: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

21© Frank Leymann

Hiding Process Details

Private ProcessEnterprise

PublicView

Page 22: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

22© Frank Leymann

BPEL Abstract & Executable Processes

Private ProcessEnterprise

PublicView

Executable

Abstract

Process

Process

Page 23: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

23© Frank Leymann

1 2 3

4

5

p

executable process

Abstract ProcessesAn abstract process describes “behavior” onlyIt may not be executableIt may omit certain information

Omitted information represent modeling artifacts that may be provided later (“completion”)

q

“omission” 1

2q

abst

ract

proc

ess

Page 24: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

24© Frank Leymann

Use Cases Categories (“Pattern”)View on internal process

Only a projection of an internal (executable) process is made visible to the outside

…to protect process model as corporate asset…to hide non-optimal parts of a process model

Template as “best practice”Specification of common activities, major data structures, and main control flowMust be refined into an executable processes on a case-by-case basis

Constraints on message exchangeSpecification about the order in which messages are consumed or produced

Business functionality is implemented as a (set of) port types, and operations must be used in a certain order to achieve intended business goal

Page 25: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

25© Frank Leymann

View (“Export”)

An abstract process is derived from an executable by abstracting away parts that are not part of the behavior one wishes to exposeExample:

Show a particular business partner the interactions that the partner must follow

Interactions with all other partners are droppedUse an abstract process to represent common behavior in a set of executables, and drop any non-repeated behavior

An executable process of a more general business model may need parts tagged as points of variability, and those are made explicitly opaque

Page 26: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

26© Frank Leymann

Template (“Import”)

An abstract process is basis to create one or more executables, or more detailed abstract processesExample:

One needs to create an implementation of an abstract process provided as a behavioral prescription for complying with a known, domain-specific business functionMultiple abstract processes can be created in a series of iterative refinements to a design One wants to implement “best practices” while maintainingsome company specifics

The abstract process may have been purchased from a consulting firm, as a model of an optimized approach to a problem

Page 27: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

27© Frank Leymann

Service Usage ConstraintTypically, the operations of a services may not be used in order

E.g. it doesn’t make sense to use the Cancel operation of an Order service before using its Buy operation ☺

To describe such ordering constraint an abstract process can be used that only refers to operations of a single port typeThe port type of a service may be associated with a process which describes the order in which the operations of the port type can be used

o1

o2

o3

o4

o5

Page 28: OASIS BPEL Webinar: Frank Leymann Input...BPEL in a Nutshell: Elevator Speech BPEL describe in a SOA how your company performs its business processes With BPEL, it is straightforward

28© Frank Leymann

End of Document