Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism...

35
Business Process Integration BizTalk Server 2004 Lex Oskam Lex Oskam Developer and Platform Evangelism Developer and Platform Evangelism [email protected] [email protected]

Transcript of Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism...

Page 1: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process IntegrationBizTalk Server 2004

Lex OskamLex OskamDeveloper and Platform EvangelismDeveloper and Platform [email protected]@microsoft.com

Page 2: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Connection ImperativeImplications & Challenges

The ability to react on information Always up to date information

Adapt rapidly to changing business Mandate to connect “islands” of information

Integrate the virtual company Multi-system, multi-company, multi-audience

Page 3: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Company ACompany A

The Integration Challenge

Remote Office/ConsumersRemote Office/Consumers

MobileMobileEmployeesEmployees

Company BCompany B

Customers Customers Partners Partners SuppliersSuppliers

Remote Office/ConsumersRemote Office/Consumers

MobileMobileEmployeesEmployees

Business demand = everything connectedBusiness demand = everything connected

Page 4: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

IT ChallengesIntegration “hurt” reached breaking point

Lack of integration Systems not designed to work together Interoperability an afterthought Expensive, hard, time consuming, brittle

Current model can’t keep up with businessCurrent model can’t keep up with business

Page 5: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Islands of Software and Data

?

??

?

Page 6: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Internet Internet BankingBanking

WirelessWireless

AggregationAggregation

Branch BankingBranch Banking

CRMCRM

Core Core BankingBanking

Wealth Wealth ManagementManagement

Treasury / Treasury / ForexForex

Trading / Back Trading / Back office office

Payment Systems and Card Payment Systems and Card MgmtMgmt 3D Secure3D Secure

Business Business IntelligenceIntelligence

EAIEAI

Straight through Straight through ProcessingProcessing

ATM / POSATM / POS

No Application is an island

Page 7: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Enterprises TodayTightly coupled applications

Packaged Application

Y

ERP Application

Unix Application

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

Page 8: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process IntegrationChallenges Different OS platforms Different application communication protocols

IIOP, RMI, DCOM, .NET Remoting… Different network protocols

TCP/IP, SNA… Different document formats

EDIFACT, CSV, XML… Different document definitions

SAP.Order ≠ JDEdwards.Order Different business processes

AKZO.ProcessOrder() ≠ DOW.ProcessOrder() Maintenance expensive

~ $7 per business application $ spent

Page 9: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process IntegrationAn Idealized Picture

Packaged Application

Y

ERP Application

Unix Application

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

SOAP

Page 10: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process IntegrationWeb services only part of solution… They provide a solution for:

Network protocol independancy HTTP anywhere

Platform independancy On any OS platform

Application platform independancy SOAP anywhere

Document format independancy XML anywhere

But in reality… Not all apps use web services… No standard XML.Order… (only branche specific)

No standard business process…

Page 11: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process Integration Decoupling of applications

Packaged Application

Y

ERP Application

Unix Application

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

Business Process

Page 12: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Decoupling of applications

What is needed… Sending/Receiving messages Adapters: File, FTP, SAP, Webservice, …

Processing messaging Decoding, (Dis)Assemble, Party

Resolution,… Mapping message to Business

Process Subscriptions

Defining Business Processes

Page 13: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process Integration Role of BizTalk Server

Packaged Application

Y

ERP Application

Unix Application

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

Business ProcessMessagingMessaging

OrchestrationOrchestrationBizTalk ServerBizTalk Server

Page 14: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Company BCompany B

Company ACompany A

BizTalk Server 2004EAI, B2B & BPM

Internet

Internet

ApplicationApplication

ApplicationApplication

ApplicationApplication

ApplicationApplication

ApplicationApplication

BizTalk ServerBizTalk Server

Reliable Messaging Process Orchestration Business Rules Engine Enterprise Single Sign-On Health and Activity

Tracking Business Activity Monitoring Human Workflow Services Off the Shelf Adapters &

Development Framework Web Services

Page 15: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

AdapterAdapter

Receive PortReceive PortAdapterAdapter

HostHost

BizTalk Server 2004Basic Architecture

Orc

hes

trat

ion

#1

Orc

hes

trat

ion

#1

Orc

hes

trat

ion

#2

Orc

hes

trat

ion

#2

Send PortSend Port

TrackingTrackingDBDB

Config DBConfig DBDBDB

Business Business RulesRules

Send PipelineSend Pipeline

Publish and SubscribePublish and SubscribeMessage Box (SQL)Message Box (SQL)

Message Format 1Message Format 1Message Format 2Message Format 2

Receive PipelineReceive Pipeline

Page 16: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Connecting LOB applications

BTS 2004 Adapters Standard adaptersfrom Microsoft include: Web Services adapter

WSE 2.0 beta

MQSeries adapter SAP adapter File, HTTP, …

For building adapters: Microsoft.BizTalk.Adapter.Framework

namespace

Many third-party adapters: EDI adapter PeopleSoft

adapter Lots more

Page 17: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Messages Tools Within Visual Studio.NET:

Pipeline Designer Used to create custom pipelines

BizTalk Editor Used to create XSD message schemas

BizTalk Mapper Used to define mappings and XSLT

transformations between message schemas

Page 18: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

BizTalk Mapper An Example Map

Page 19: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process DesigningOrchestrations

Define the operations in a business process using shapes Compile into standard .NET assemblies

Example shapes: Decide: an if-then-else statement Loop: performs an action repeatedly Send: sends a message Receive: receives a message Parallel Actions: performs multiple

operations in parallel

Page 20: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process Designing Design Tools

Within Visual Studio.NET: Orchestration Designer

Used to organize shapes that define a business process

Within Visio: Orchestration Designer for Business

Analysts Orchestrations can be imported and

exported between this and the Orchestration Designer

Page 21: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process DesigningOrchestration Designer

Page 22: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Business Process Designing OD for Business Analysts

Page 23: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

BizTalk Server 2004 Other Integration Platform

BPEL Definition

Generated

Process Definition ExchangeThe Business Process Execution Language for Webservices (BPEL4WS)

Web Services

Import/Export BPEL

Import/Export BPEL

Page 24: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

MessageBox

Orchestration

State

Process

For processes with stable rules: inline

For processes with volatile rules: external

Modifiable Business Rules The Business Rules Engine

MessageBox

Orchestration

State

Process and Rules

Business RulesEngine

Rules

Page 25: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Process ImplementationState

Construct Message: allows declaring message variables, then setting their values

An orchestration’s state is automatically stored and reloaded as needed

MessageBox

State

Page 26: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Scope Y: Long-running

ERP Application

Process Implementation Scopes Scope: supports transactions

Atomic: recovery via rollback Long-running: recovery via compensation

BizTalk Server 2004 Engine x

2) Attempt update, fail

Scope X: Atomic

CICS Application

.NET Application

1) Update and commit

3) Compensate

Page 27: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Process Implementation Correlation Routes messages to an orchestration

instance based on their contents Doesn’t require the orchestration to

block waiting for a response message

BizTalk Server 2004 Engine

1

2

. . .

PO# 5978

Purchase Order

. . .

PO# 6013

Purchase Order

. . .

PO# 5978

Invoice

. . .

PO# 6013

Invoice

ERP Application

Page 28: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

BizTalk Server 2004 Engine

Process Implementation Aggregating Services into SOA

Packaged Application

Unix Application

J2EE Application

CICS Application

AS/400 Application

Web Services Clients

Page 29: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Process Monitoring Health and Activity Tracking (HAT) Graphical access to information

about: When an orchestration starts and ends When each step it is executed When message is sent/received What’s in each message …

Tool: Health and Activity Tracking tool

Page 30: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Process Monitoring A HAT Tool Example

Page 31: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

BizTalk Server 2004 Engine

Process Monitoring Business Activity Monitoring Allows information workers to

monitor business processes

Tracking

Monitored Events and Messages

Microsoft Excel

Other Clients

Business Activity Monitoring (BAM)

Page 32: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Process Monitoring An Example BAM View

Page 33: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

Scalability Support Host Instances

Requests are automatically load balanced across orchestrations and MessageBoxes

MessageBox

Machine B

Machine A

Orchestrations

Host Instance

P

Q

Orchestrations

R

S

Host Instance

Machine C

Orchestrations

Host Instance

P

Q

Machine D

Orchestrations

Host Instance

P

Q

MessageBox

Machine E

Page 34: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.
Page 35: Business Process Integration BizTalk Server 2004 Lex Oskam Developer and Platform Evangelism lexo@microsoft.com.

© 2004 Microsoft Corporation. All rights reserved.© 2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.Content created by 3 Leaf SolutionsContent created by 3 Leaf Solutions