Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf ·...

14
Introduction to BPEL and Active BPEL™ Presented by Martin Kowalski and Mal Pattiarachi

Transcript of Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf ·...

Page 1: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

Introduction to BPELand Active BPEL™Presented by Martin Kowalski and Mal Pattiarachi

Page 2: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

The Presenters

Martin: DVA Cúram Integration Arch• Background in Objectstar Mainframe Development;• New to Java/J2EE and to Webservices;Mal: IBM Architect / Lead Developer• Lots of experience in Java/J2EE/Web Services architecture & 

development;• New to DVA but heavily involved in DVA integration architecture 

& development;Josh: Project Solutions Architect• Strong background in OO languages & distributed technologies 

(C++ and Java/J2EE);• Instrumental in developing the Cúram integration architecture;

Page 3: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

The Problem

DB(ZOSDB2)

Business Process

Tier

Cúram WebClient

DAL

DelphiUI

Delphi UI

CustomBuilt

Adapter

Active X Connector

Active XConnector

Framework 1 Broker

Framework 2Broker

Business Rules & DA L

Business Rules, Presentation Info 

& DAL

O* Database

ZOS Objectstar

IMS Database

Pipe

Framework 1 AppsFramework 2 Apps

WAS on Wintel

Page 4: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

A bit about Cúram

• A packaged business and development framework for the social services industry;

• ‘Loosely’ J2EE compliant. Brokers business components via a single stateless session bean which is a business delegate to POJOS.

• Employs code generators to apply OO patterns to a UML class diagram to generate code stubs.  Developers implement concrete classes.

• UI generated as Servlets & JSPs (struts FW) via an XML to Java code generator.

• Proprietary DAO framework;

Page 5: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

A bit about ObjectStar

• Not OO despite the name;  • Includes a procedural programming language, a 

proprietary query language and a relational database; • Database bridges for IMS and DB2.• Interpreted language so platform independent to a 

degree but mainly implemented on ZOS/OS390.• Recently purchased by TIBCO and revamped as a 

mainframe integration adapter technology code­named TMI ! (talk to frank).

Page 6: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

1.0 Solution

DB(ZOSDB2)

Business Process

Tier

Cúram WebClient

DAL

DelphiUI

Delphi UI

CustomBuilt

Adapter

Active X Connector

Active XConnector

Framework 1 Broker

Framework 2Broker

Business Rules & DA L

Business Rules, Presentation Info 

& DAL

O* Database

ZOS Objectstar

IMS Database

Pipe

Framework 1 AppsFramework 2 Apps

WAS on Wintel

WAS SIBus‘ESB’

MediationHandler

SOAP

XSLT Library

Proxy

WSDL

WSDL

Page 7: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

Why SIBus

• Free with WAS;• Loose Coupling;• Separation of Concerns;• Integration Platform Flexibility;• Partially vendor neutral solution;• Reusability;• Declarative Integration;• Moving towards true enterprise service 

environment; • Entry Level ESB environment;

Page 8: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

Limitations

• Not feature rich OOTB…supports XSLT transformations only (and this via some custom code);

• Bound to WAS so not vendor neutral;• Problems experienced when attempting to 

cluster WAS with SIBus;• Not the strongest product support provided;• Questionable as to whether it will be 

included/free with future WAS releases;• No Transaction Management capabilities;

Page 9: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

The Future ?

Page 10: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

BPEL Overview• Evolved from WSFL and XLANG;• XML Based (see w3c for schema);• Support for Programming in the Large (high­level state 

transition interactions of a process).• Participants & interactions defined via WSDL.• Control structures implemented via XPath 1.0;• Orchestration model (as distinct from choreography);• Fits well in purist SOA implementation; • Supports Long­running, asynchronous transaction model 

(i.e. submit for approval) typical in business processes.  Implemented via message correlation sets so that a long running process can lie dormant for a period of time.

• Can be generated from BPMN.

Page 11: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

Advantages of BPEL

• Feature Rich:  Supports Transformation (BPEL Copy and Apply XSLT function), Intelligent Routing/Port Selection, Iteration & Condition Processing, Compensation, Asynchronous Execution, Parallel Processing, logging, Validation, Exception Processing, Queuing…)

• Lots of vendor offerings (SUN, TIBCO, IBM, Oracle…);• Lots of Open community options:  active­

endpoints.org, MULE ESB, 5Sight…• Lots of information available (Google !) • Completely vendor Neutral and Open Standards 

Based….WSDL, SOAP, XML, XSLT, XPATH….

Page 12: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

DB(ZOSDB2)

Business Process

Tier

Cúram WebClient

DAL

DelphiUI

Delphi UI

CustomBuilt

Adapter

Active X Connector

Active XConnector

Framework 1 Broker

Framework 2Broker

Business Rules & DA L

Business Rules, Presentation Info 

& DAL

O* Database

ZOS Objectstar

IMS Database

Pipe

Framework 1 AppsFramework 2 Apps

WAS on Wintel

Servlet Container

BPELEngine

SOAP

XSLT Library

Proxy

WSDL

WSDL

2.0 Solution

Page 13: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

How to get started

• Download Active BPEL Designer from www.active­endpoint.org

• Download and install tomcat (or other J2EE compliant servlet container) from www.apache.org;

• Download and install Active BPEL engine from www.active­endpoints.org;

• Do the tutorial that comes packaged with designer;

• Register with the online forum (this is supported with active endpoints staff).

Page 14: Introduction to BPEL and Active BPEL™ - Huihoodocs.huihoo.com/activebpel/IntroActiveBPEL.pdf · endpoints.org, MULE ESB, 5Sight ... • Do the tutorial that comes packaged with

Other Options

• Eclipse BPEL Project: www.eclipse.org/bpel/

• Intalio PBMN:  www.intalio.com• Vendors who have BPEL engines 

and/or designers: BEA, IBM, TIBCO, Sun ?, Oracle, Microsoft….