BPM with WPS - Big Picture and Roadmap

watermelonroachdaleInternet and Web Development

Jul 30, 2012 (5 years and 3 months ago)

335 views

© 2007 IBM Corporation

SOA on your terms and our expertise

Software

Workflow with WebSphere Process Server and
WebSphere Integration Developer

Fenglian Xu

WebSphere ESB Development

IBM UK Laboratories

xufengli@uk.ibm.com

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

2

Agenda

Overview IBM SOA Platforms

WS
-
BPEL 2.0

Assemble with WebSphere
Integration Developer

Deploy with WebSphere
Process Server

Summary

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

3

Human
-
Centric BPM with IBM WebSphere

Tools and Clients for All Key User Roles

Business
Analysts

Process Engineers /
Integration Specialists

Business Users

Interact with business
processes, collaborate,
and perform human
tasks

Business
User
Clients

Business Managers /

Business Operations

BPC Explorer

Manage running
processes and
tasks

BPC Observer

Clean hand
-
off to IT
with business
models and metrics

Content

Management

Business
Modeling

and Simulation

Collaborative
Development

Workflow and
Choreography

Business Monitoring,
Dashboards and Analytics

Integrated deployment of
policies, rules, and process
services based on an SOA
platform with seamless support
for human workflow

Real time
collaboration and
management of
business processes

Feedback for
continuous
improvement and
optimization

WebSphere
Business
Modeler

WebSphere
Integration
Developer

WebSphere
Process
Server

WebSphere
Business
Monitor

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

4

SOA Reference Architecture

Supporting your SOA Lifecycle


Business Innovation & Optimization Services

Development

Services

Integrated
environment
for design
and creation
of solution
assets

Manage
and secure
services,
applications
&

resources

Facilitates better decision
-
making
with real
-
time business information

IT Service

Management

Infrastructure Services

Optimizes throughput,
availability and performance


ESB

Facilitates communication between services


Apps &

Info Assets

Partner Services

Business App Services

Access Services

Connect with trading
partners

Build on a robust,
scaleable, and secure
services environment

Facilitates interactions
with existing information
and application assets

Interaction Services

Process Services

Information Services

Enables collaboration
between people,
processes & information

Orchestrate and
automate business
processes

Manages diverse
data and content in a
unified manner

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

5

Custom

Apps.

IBM SOA Foundation

Software

Skills &

Support

Leveraging existing IT Infrastructure

Introducing the IBM SOA Foundation

Provides What You Need to Get Started with SOA

Supports complete
lifecycle with a
modular

approach

Extends value

of your
existing investments,
regardless of vendor

Scalable
; start small
and grow as fast as
the business requires

Extensive business
and IT standards
support; facilitating
greater
interoperability &
portability

IBM SOA Foundation: Integrated, open set of software, best
practice, and patterns

CICS

IMS

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

6

WebSphere Process Server:

Process layer builds on WebSphere ESB and WebSphere Application Server

foundation to deliver robust business process management

WebSphere Process Server

Leveraging infrastructure services from WAS ND

Use
WebSphere
Process
Server when
you need

to
automate
business
processes

that span
people,
workflows,
applications,
systems,
platforms, and
architectures


Support for all styles of integration, including human tasks, roles
based task assignments, and multilevel escalation.


Business rules, business state machines, and selectors to dynamically
choose interface based on business scenarios


Change business processes on the fly with relatively minimal skills

WebSphere Application Server

Transport layer foundation provides infrastructure

via JMS 1.1, HTTP, IIOP

WebSphere ESB

Mediation layer builds on WebSphere Application Server

foundation to provide intelligent connectivity


WebSphere Application Server Network Deployment

Builds on WebSphere Application Server foundation to deliver a

highly available transaction engine with advanced performance

and management capabilities

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

7

WebSphere Enterprise Service Bus

An Enterprise Service Bus (ESB) is a flexible connectivity
infrastructure for integrating applications and services.


An ESB powers your SOA by reducing the number, size, and complexity of interfaces.

Shape = Protocol

Color = Data type


An ESB performs the following
between requestor and service


CONVERTING

transport
protocols between requestor
and service


HANDLING

business events
from disparate sources


TRANSFORMING

message
formats between requestor
and service


ROUTING

messages
between services

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

8

WS
-
BPEL 2.0


Industry standard language for expressing business processes


Leverage a common skill set and language


Designed to fit naturally into the Web services stack


Expressed entirely in XML


Uses and extends WSDL 1.1


Uses XML Schema 1.0 for the data model


Portable across platform and vendor


Will run on any WS
-
BPEL
-
compliant engine


Interoperable between interacting processes


Layering on top of Web services stack


WS
-
BPEL is a Recursive Aggregation Model for Web Services


Stateful conversations and lifecycle management


Supports multiple stateful long
-
running conversations


Recoverability


Long running business processes need fault handling and compensation mechanisms to
manage and recover from errors



Software

© 2007 IBM Corporation

SOA on your terms and our expertise

9

WS
-
BPEL Language Constructs


WS
-
BPEL process definition


Recursive composition and partner links


Variables


Variable properties


Correlation sets


Basic and structured activities


Scopes


Compensation handling

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

10

“WS
-
BPEL Patterns” Example: “Replay” Activities

Step 2

Step 6

Step 3b

Step 3a

Step 5

Step 4

Step 1

Repeat while
input invalid

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

11

WebSphere Integration Developer

Assembling composite applications with ease


Streamlining process design hand
-
off between business and IT


Import and work with business process models directly from the business analyst
(WebSphere Business Modeler)


Simplifying and speeding composite application development


An Assembly Editor for overall solution assembly


All the tools you need for building solution components (Editors for BPEL, Business
Rules, Business State Machines, Interface Maps, …)


One, easy
-
to
-
learn end user interface based on Eclipse


Architected for

reuse and flexibility


Simplified

component

interfaces


Plug
-
and
-
play

solution components


Ability to leverage

existing services

and develop for

future reuse

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

12

WebSphere Integration Developer

BPEL without Coding


Standards
-
Based Process Support


Import models from WebSphere

Business Modeler


Develop executable process


WS
-
BPEL
-
based business processes


WS
-
BPEL with or without IBM

extensions


Intuitive drag
-
and
-
drop tools


Visually define the sequence and flow

of business processes


A visual business process debugger


Step through and debug business

processes


Integrated fault and event handling


Provide an easy and integrated means of handling in
-
flow exception

handling and external events


Compensation support


Provide a logical “undo” capability

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

13

Elements of WebSphere Process Server

Supports all aspects of process integration


WebSphere Application Server ND (J2EE Runtime)

SOA Core

Service Component

Architecture

Business

Objects

Common Event

Infrastructure

Interface

Maps

Business

Object

Maps

Relation
-
ships

Dynamic

Service

Selection

Supporting

Services

Mediation Flows

(ESB)

Human

Tasks

Business

State

Machines

Business

Rules

Business

Processes

Service

Components

z/OS

Business Processes

+ Human Tasks

= Human Workflow

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

14

Service Component Architecture (SCA)


Components

Component


Uniform

Representation of

encapsulated

Implementation


Interface:

How to call

this component

Reference:

What this

components calls

Java

Interface

WSDL

Port Type

Java

Interface

WSDL

Port Type

1..1

1..1

I

Reminder

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

15

Two Styles of Service Choreography


Business Processes


Traditional Business Processes


Full support for WS
-
BPEL


Import from WebSphere Business
Modeler



Business State Machines


Event
-
driven Business Processes


Full support for State Machine
programming model


States, Events, Transitions,
Actions, Guards, …


State Machine Authoring /
Debugging / Logging

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

16

Business Processes


WS
-
BPEL compliant business
process engine


Simplified Process Editor


Optional simplification of

terms


Generic Business Process


Operations / Parameters


Service Implementation Details
hidden


Transactions / Compensation


Full XPath 1.0 Support

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

17

Business State Machines


State Machine

Implementation


Based on UML 2.0

State Machine Models


Event driven business

processes


Creates WS
-
BPEL

under the covers


Simple/Complex States


Entry/Exit


Transitions


Events


Actions (invokes)


Guards


Timeout

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

18

BPC Standard Client


BPC Explorer

Graphical View for Processes


Provide graphical view for process structure and instances


Actions in the graphical view:


Zoom and scroll within the view


Expand and collapse event, fault

and compensation handlers


Show additional information about

elements when moved over


Navigate to activity details view


Usage scenarios


Understand process structure


Check status of process and its

activities


Like process instance monitor in

WebSphere MQ Workflow

Activity Details

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

19

BPC Standard Client


BPC Observer

Reporting for Business Processes


Allows observing state and evolution of business processes

e.g., overall duration, actual work time


Provides customizable reports and graphical charts of historical
and accumulated data of business processes


Supports flexible drill
-
down capabilities to retrieve statistical data
on processes and activities


Has been available

as sample in 6.0.1

and is now a fully

supported product

feature

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

20

BPC Standard Client


BPC Observer

Reporting for Business Processes


Technical Background


BPC Observer has same look & feel as BPC Explorer


Built with JSF and BPC JSF Components


Collects BPC emitted events leveraging CEI


Can observe multiple BPC containers


Configuration is part of overall BPC


Also available in WID

BPC Observer Client


BPC



Common Event

Infrastructure

Event Data

BPC Observer

BPC
Observer

Datastore

Event

Collector

Common

Base Events

Store

event

data

WAS

WAS

WPS

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

21

Business Rules

Overview


Business Rules allow to externalize business logic from
applications (business processes)


Business Rules can be dynamically updated at runtime using the
Business Rules Manager web application


NLS enabled free text representation for rules


Business Rules provide the most
-
requested rules functionalities


Decision Tables


Rule Sets (If/Then Rules)


Rule Templates


Action Rules


Rules Groups are provided for ease of use


Allow encapsulation of detailed implementation in a component with a
well defined interface

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

22

Dynamicity with Business Rules

Tools

WebSphere Integration Developer

Runtime

WebSphere Process Server


Using
Business Rules Manager
,
the Business Analyst changes
rules at runtime


No need to restart the application


Users are authenticated using
standard WAS authentication /
security


Changes may be exported back to
WID






Programmer defines rules
from templates


This exposes the rule
parameters to
Business
Rules Manager


Software

© 2007 IBM Corporation

SOA on your terms and our expertise

23

Purely Human

Task

Task Participant

Interface

Task Originator

Interface

create

start

notify

query

claim

complete

Participating

Task

Task Web

Service Interface

Task Participant

Interface

invoke

return

query

claim

complete

Web service

Originating

Task

create

start

notify

invoke

return

Web Service

Interface

Task Originator

Interface

Web service

Web service

Human Tasks


Overview and Interaction Patterns

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

24

Server Controlled Page Flow (aka Single Person Workflow)

Automatically present users with the page for the next task in the process


Controlling the flow of UI interactions with a single individual


Series of human tasks in a process to be performed by the same person


Each page represents a human task


New
completeAndClaimSuccessor
API

WPS

completeAndClaimSuccessor()

complete()

BusinessFlowManagerService

operations

claim
()

completeAndClaimSuccessor()

completeAndClaimSuccessor()

User / Client

Page 1

Page 2

Page n

...

Tasklist

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

25

Dynamic Service Selection

Overview


Selection is based on a Selector
Algorithm


Framework for custom selector
algorithms


The default Selection is date based

Date Based
Selection

Target
Components


Client makes a call to the
Selector Component


Selector determines dynamically
which implementation of a
target destination to invoke

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

26

Dynamicity using Dynamic Service Selection


At runtime System Administrator
can modify/add/delete


Modify or add the date/time


Target component


From a list of installed Components
with the matching interface


Changes may be exported back
to WID



Tools

WebSphere Integration Developer

Runtime

WebSphere Process Server


Programmer defines


What components to invoke


The selection criteria


The selector behavior can be modified
at runtime


Software

© 2007 IBM Corporation

SOA on your terms and our expertise

27

Transformation Components

Interface Maps, Business Object Maps, and Relationships

Interface

Map

Import:

submitOrderSAP

Export:

doOrder

BO
(Order)

BO

(SAPOrder)

Interface:

doOrder(Order)

Interface:

submitOrder(SAPOrder)

Business

Object Map

Order

SAPOrder

Relationship

OrderID

SAPID

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

28



References and Further Readings


Business Process Choreographer on developerWorks

http://www7b.boulder.ibm.com/wsdd/zones/was/wpc.html



Business Process Choreographer Samples page

http://publib.boulder.ibm.com/bpcsamp/index.html



Business process choreography in WebSphere:

Combining the power of BPEL and J2EE

http://researchweb.watson.ibm.com/journal/sj/432/kloppmann.html



IBM Systems Journal Issue on Service Oriented Architecture

http://researchweb.watson.ibm.com/journal/sj44
-
4.html



SOA programming model for implementing Web services,

Part 8:
Human
-
based Web services

http://www
-
128.ibm.com/developerworks/webservices/library/ws
-
soa
-
progmodel8/



Web Services Platform Architecture (Prentice Hall, 2005)


Web Services Business Process Execution Language Version 2.0, Public Draft


http://docs.oasis
-
open.org/wsbpel/2.0/wsbpel
-
v2.0.pdf


WS
-
BPEL Extension for People

http://www.ibm.com/developerworks/webservices/library/specification/ws
-
bpel4people/



WS
-
BPEL 2.0 Extensions for Sub
-
Processes

http://www.ibm.com/developerworks/webservices/library/specification/ws
-
bpelsubproc/



BPELJ: BPEL for Java technology

http://www.ibm.com/developerworks/library/specification/ws
-
bpelj/


Software

© 2007 IBM Corporation

SOA on your terms and our expertise

29

Thank You!

Questions?

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

30

Learning More about WPS and WID

IBM Education Assistant


Overview, Big Picture and New
Functions


Installation and Migration


Programming for Service
Oriented Architecture


Monitoring SOA Integration
Applications


Supporting Services for Service
Applications


Enterprise Service Bus
Application Components


Integration with enterprise
applications using WebSphere
Adapters


Unit Testing Service
Components


System Administration


Clustering


Building integration applications
-

end
-
to
-
end scenario

http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.wpi_v6/wpi6_coverpage.html

Software

© 2007 IBM Corporation

SOA on your terms and our expertise

31


Thank
You

Merci

Grazie

Gracias

Obrigado

Danke

Japanese

English

French

Russian

German

Italian

Spanish

Brazilian Portuguese

Arabic

Traditional Chinese

Simplified Chinese

Thai





Trademarks, Copyrights, and Disclaimers

The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United Stat
es,

other countries, or both:


IBM


CICS


IMS


MQSeries


Tivoli

IBM(logo)


Cloudscape


Informix


OS/390


WebSphere

e(logo)business


DB2


iSeries


OS/400


xSeries

AIX


DB2 Universal Database

Lotus


pSeries


zSeries


Java and all Java
-
based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.


Microsoft, Windows, Windows NT, and the Windows logo are registered trademarks of Microsoft Corporation in the United States,

ot
her countries, or both.


Intel, ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countr
ies
, or both.


UNIX is a registered trademark of The Open Group in the United States and other countries.


Linux is a registered trademark of Linus Torvalds.


Other company, product and service names may be trademarks or service marks of others.


Product data has been reviewed for accuracy as of the date of initial publication. Product data is subject to change without

no
tice. This document could include technical inaccuracies or
typographical errors. IBM may make improvements and/or changes in the product(s) and/or program(s) described herein at any t
ime

without notice. Any statements regarding IBM's
future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Ref
ere
nces in this document to IBM products, programs, or
services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM
ope
rates or does business. Any reference to an IBM Program
Product in this document is not intended to state or imply that only that program product may be used. Any functionally equi
val
ent program, that does not infringe IBM's intellectual
property rights, may be used instead.


Information is provided "AS IS" without warranty of any kind. THE INFORMATION PROVIDED IN THIS DOCUMENT IS DISTRIBUTED "AS I
S"
WITHOUT ANY WARRANTY, EITHER
EXPRESS OR IMPLIED. IBM EXPRESSLY DISCLAIMS ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRIN
GEM
ENT. IBM shall
have no responsibility to update this information. IBM products are warranted, if at all, according to the terms and condit
ion
s of the agreements (e.g., IBM Customer Agreement,
Statement of Limited Warranty, International Program License Agreement, etc.) under which they are provided. Information conc
ern
ing non
-
IBM products was obtained from the suppliers
of those products, their published announcements or other publicly available sources. IBM has not tested those products in c
onn
ection with this publication and cannot confirm the
accuracy of performance, compatibility or any other claims related to non
-
IBM products. IBM makes no representations or warrant
ies, express or implied, regarding non
-
IBM products and
services.


The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM
pat
ents or copyrights. Inquiries regarding patent or copyright
licenses should be made, in writing, to:


IBM Director of Licensing

IBM Corporation

North Castle Drive

Armonk, NY 10504
-
1785

U.S.A.


Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. All customer

ex
amples described are presented as illustrations of
how those customers have used IBM products and the results they may have achieved. The actual throughput or performance that

an
y user will experience will vary depending upon
considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configurat
ion
, and the workload processed. Therefore, no assurance
can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here
.


© Copyright International Business Machines Corporation 2004. All rights reserved.


Note to U.S. Government Users
-

Documentation related to restricted rights
-
Use, duplication or disclosure is subject to restrict
ions set forth in GSA ADP Schedule Contract and IBM Corp.

Template Revision: 3/09/2005 9:40 AM

software

SOA on your terms and our expertise

32