View
216
Download
1
Category
Tags:
Preview:
Citation preview
© 2007 IBM Corporation
SOA on your terms and our expertise
Software
Workflow with WebSphere Process Server and WebSphere Integration Developer
Fenglian XuWebSphere ESB Development
IBM UK Laboratories xufengli@uk.ibm.com
2
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Agenda
Overview IBM SOA Platforms
WS-BPEL 2.0
Assemble with WebSphere Integration Developer
Deploy with WebSphere Process Server
Summary
3
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Human-Centric BPM with IBM WebSphereTools 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 User
Clients
Business Managers /Business Operations
BPC Explorer BPC Explorer
Manage running processes and
tasks
BPC ObserverBPC Observer
Clean hand-off to IT with business
models and metrics
ContentManagement
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 Business Modeler
WebSphere Integration Developer
WebSphere Integration Developer
WebSphere Process Server
WebSphere Process Server
WebSphere Business Monitor
WebSphere Business Monitor
4
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
SOA Reference ArchitectureSupporting your SOA Lifecycle
Business Innovation & Optimization Services
Dev
elo
pm
ent
Ser
vice
s
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 S
ervi
ceM
anag
emen
t
Infrastructure Services
Optimizes throughput, availability and performance
ESBFacilitates communication between services
Ap
ps
&
Info
As
setsPartner 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
5
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Custom Apps.
IBM SOA Foundation
Software
Skills &Support
Leveraging existing IT Infrastructure
Introducing the IBM SOA FoundationProvides 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
6
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
WebSphere Process Server:Process layer builds on WebSphere ESB and WebSphere Application Server
foundation to deliver robust business process management
WebSphere Process ServerLeveraging 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 ESBMediation layer builds on WebSphere Application Server
foundation to provide intelligent connectivity
WebSphere Application Server Network DeploymentBuilds on WebSphere Application Server foundation to deliver ahighly available transaction engine with advanced performance
and management capabilities
7
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
8
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
9
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
10
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
“WS-BPEL Patterns” Example: “Replay” Activities
Step 2Step 2 Step 6Step 6
Step 3bStep 3b
Step 3aStep 3a
Step 5Step 5Step 4Step 4Step 1Step 1
Repeat while input
invalid
Repeat while input
invalid
11
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
componentinterfaces
– Plug-and-play solution components
– Ability to leverage existing services and develop for future reuse
12
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
13
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Elements of WebSphere Process ServerSupports all aspects of process integration
WebSphere Application Server ND (J2EE Runtime)
SOA CoreService Component
ArchitectureBusinessObjects
Common EventInfrastructure
Interface
Maps
BusinessObjectMaps
Relation-ships
DynamicService
Selection
DynamicService
Selection
SupportingServices
Mediation Flows(ESB)
Mediation Flows(ESB)
HumanTasks
HumanTasks
BusinessState
Machines
BusinessState
Machines
BusinessRules
BusinessRules
BusinessProcessesBusinessProcesses
ServiceComponents
z/OS
Business Processes + Human Tasks
= Human Workflow
Business Processes + Human Tasks
= Human Workflow
14
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Service Component Architecture (SCA) – Components
Component
UniformRepresentation of
encapsulatedImplementation
Interface:How to call
this component
Reference:What this
components calls
JavaInterface
WSDLPort Type
JavaInterface
WSDLPort Type
1..1
1..1
I
Reminder
15
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
16
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Business Processes
WS-BPEL compliant business process engine
Simplified Process Editor
– Optional simplification ofterms
Generic Business Process
– Operations / Parameters
– Service Implementation Details hidden
Transactions / Compensation
Full XPath 1.0 Support
17
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Business State Machines
State MachineImplementation– Based on UML 2.0
State Machine Models
– Event driven businessprocesses
– Creates WS-BPELunder the covers
Simple/Complex States– Entry/Exit
Transitions– Events
– Actions (invokes)
– Guards
– Timeout
18
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
BPC Standard Client – BPC ExplorerGraphical 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
19
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
BPC Standard Client – BPC ObserverReporting for Business Processes
Allows observing state and evolution of business processese.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
20
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
BPC Standard Client – BPC ObserverReporting 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 BPC
Common EventInfrastructure
Common EventInfrastructure
Event Data
BPC Observer
BPC ObserverDatastore
BPC ObserverDatastore
EventCollector
EventCollector
CommonBase Events
Storeeventdata
WASWASWASWAS
WPS
21
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Business RulesOverview
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
22
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Dynamicity with Business Rules
ToolsWebSphere Integration Developer
RuntimeWebSphere 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
23
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Purely HumanTask
Purely HumanTask
Tas
k P
artic
ipan
tIn
terf
ace
Tas
k P
artic
ipan
tIn
terf
ace
Tas
k O
rigin
ator
Inte
rfac
eT
ask
Orig
inat
orIn
terf
ace
create
start
notify
query
claim
complete
ParticipatingTask
ParticipatingTask
Tas
k W
ebS
ervi
ce I
nter
face
Tas
k W
ebS
ervi
ce I
nter
face
Tas
k P
artic
ipan
tIn
terf
ace
Tas
k P
artic
ipan
tIn
terf
ace
invoke
return
query
claim
complete
Web service
OriginatingTask
OriginatingTask
create
start
notify
invoke
return
Web
Ser
vice
Inte
rfac
eW
eb S
ervi
ceIn
terf
ace
Tas
k O
rigin
ator
Inte
rfac
eT
ask
Orig
inat
orIn
terf
ace
Web serviceWeb service
Human Tasks – Overview and Interaction Patterns
24
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
WPSWPS
completeAndClaimSuccessor()
complete()
BusinessFlowManagerServiceoperations
claim()
completeAndClaimSuccessor()
completeAndClaimSuccessor()
User / ClientUser / Client
Page 1
Page 2
Page n
...
Tasklist
25
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Dynamic Service SelectionOverview
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
26
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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
ToolsWebSphere Integration Developer
RuntimeWebSphere Process Server
Programmer defines
What components to invoke
The selection criteria
The selector behavior can be modified at runtime
27
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Transformation ComponentsInterface Maps, Business Object Maps, and Relationships
InterfaceMap
Import:submitOrderSAP
Export:doOrder
BO (Order)
BO(SAPOrder)
Interface:doOrder(Order)
Interface:submitOrder(SAPOrder)
BusinessObject Map
Order SAPOrder
RelationshipOrderID SAPID
28
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
References and Further Readings
Business Process Choreographer on developerWorkshttp://www7b.boulder.ibm.com/wsdd/zones/was/wpc.html
Business Process Choreographer Samples pagehttp://publib.boulder.ibm.com/bpcsamp/index.html
Business process choreography in WebSphere: Combining the power of BPEL and J2EEhttp://researchweb.watson.ibm.com/journal/sj/432/kloppmann.html
IBM Systems Journal Issue on Service Oriented Architecturehttp://researchweb.watson.ibm.com/journal/sj44-4.html
SOA programming model for implementing Web services, Part 8: Human-based Web serviceshttp://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 Peoplehttp://www.ibm.com/developerworks/webservices/library/specification/ws-bpel4people/
WS-BPEL 2.0 Extensions for Sub-Processeshttp://www.ibm.com/developerworks/webservices/library/specification/ws-bpelsubproc/
BPELJ: BPEL for Java technologyhttp://www.ibm.com/developerworks/library/specification/ws-bpelj/
30
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
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 scenariohttp://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.wpi_v6/wpi6_coverpage.html
31
Software
© 2007 IBM Corporation
SOA on your terms and our expertise
Thank YouMerci
Grazie
Gracias
Obrigado
Danke
Japanese
English
French
Russian
GermanItalian
Spanish
Brazilian PortugueseArabic
Traditional Chinese
Simplified Chinese
Thai
Trademarks, Copyrights, and DisclaimersThe following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:
IBM CICS IMS MQSeries TivoliIBM(logo) Cloudscape Informix OS/390 WebSpheree(logo)business DB2 iSeries OS/400 xSeriesAIX 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, other countries, or both.
Intel, ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, 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 notice. 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 time 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. References 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 operates 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 equivalent 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 IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IBM EXPRESSLY DISCLAIMS ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IBM shall have no responsibility to update this information. IBM products are warranted, if at all, according to the terms and conditions of the agreements (e.g., IBM Customer Agreement, Statement of Limited Warranty, International Program License Agreement, etc.) under which they are provided. Information concerning 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 connection 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 warranties, 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 patents or copyrights. Inquiries regarding patent or copyright licenses should be made, in writing, to:
IBM Director of LicensingIBM CorporationNorth Castle DriveArmonk, NY 10504-1785U.S.A.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. All customer examples 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 any 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 configuration, 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 restrictions set forth in GSA ADP Schedule Contract and IBM Corp.
Template Revision: 3/09/2005 9:40 AM
software
32 SOA on your terms and our expertise
Recommended