33
SOA, BPM, and Microsoft: A Pragmatic View David Chappell Chappell & Associates www.davidchappell.com Copyright © 2006 David Chappell

SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

SOA, BPM, and Microsoft:A Pragmatic View

David ChappellChappell & Associates

www.davidchappell.com

Copyright © 2006 David Chappell

Page 2: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Vision and Pragmatism

Vision is essential– But rubber must eventually meet road

Three pragmatic goals:#1: Standardize on service-oriented communication#2: Create the necessary service-oriented infrastructure#3: Use business process management (BPM) technologies effectively

Page 3: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Goal #1: Standardize on Service-Oriented Communication

Service-oriented architecture (SOA) is an architectural approach in a multi-vendor world– It’s not a product

Yet two fundamental technical aspects of a service-oriented (SO) world are:– A common protocol for communication

between SO applications– A common foundation for creating SO

applications

Page 4: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

A Common Protocol: SOAP

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Packaged Application

Z

ERP Application

Packaged Application

Y

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

SOAP

Page 5: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

A Common Foundation: Windows Communication Foundation (WCF)

.NET Framework 2.0

ADO.NET

ASP.NET

. . .

Applications

Windows Vista, Windows Server 2003, Windows XP

Windows Communication

Foundation

Windows Workflow

Foundation

Windows Presentation Foundation

Windows CardSpace

.NET Framework 3.0

Page 6: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Windows Communication FoundationAPI

ASMX & WSE .NET Remoting Enterprise ServicesSystem.MessagingAPI

WCF: Unifying Communication

Applications.NET Framework 2.0

MSMQSOAP & WS-* Remoting binaryprotocol

DCOMProtocol

Applications

.NET Framework 3.0

OthersSOAP & WS-* WCF binaryprotocol

MSMQProtocol

Page 7: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Providing business value- Increased agility: Through easier application interconnection- Extensive reuse of business services: Maybe

Getting widespread adoption - New applications: SOAP- Existing applications: Diverse protocols

Standardize on Service-Oriented Communication: Summary

SolutionProblem

Defining data - Syntax: XML and WSDL- Document definitions: Various formats in use

- Windows-based applications: WCF- Other applications: Most likely Service Component Architecture (SCA)

Defining a common foundation

Defining a common protocol - RPC: SOAP/HTTP with WS-*- Message queuing: None

Page 8: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Goal #2: Create the Necessary Service-Oriented Infrastructure

SOAP is not enough:– No agreement on a queued messaging

protocol– Need to translate among different data

formats– Must connect with existing applications

that don’t speak SOAPThe dominant term for technology that addresses problems like these is Enterprise Service Bus (ESB)– But what’s an ESB?

Page 9: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Defining an ESB:Gartner (1)

A Web-services-capable middleware infrastructure that supports communication and mediates application interactionsTo be an ESB, a middleware subsystem must: – Implement program-to-program communication

• Always supporting SOAP/HTTP• Almost always supporting other protocols, such as

SOAP/MOM, XML/HTTP and plain MOM– Support other core Web services standards

• Always including XML and WSDL; usually including others such as WS-Addressing and WS-Security

Page 10: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Defining an ESB:Gartner (2)

To be an ESB, a middleware subsystem must also:– Be capable of:

• Service discovery, binding and virtualization (transparently switching to alternative service components)

• Intelligent (header-based) routing– Have an extensible, intermediary-based

architecture so that additional features can be plugged in

– Be aware of message schemas• Through the use of metadata

Page 11: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Defining an ESB:Forrester (1)

Infrastructure software that makes reusable business services widely available to users, applications, business processes, and other servicesCommon ESB components include:– Multi-protocol communication infrastructure– Routing– Transformation and mapping– Service orchestration, aggregation, and process

management– Transaction management

Page 12: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Defining an ESB:Forrester (2)

More common ESB components:– Security– Quality of service– Service registry and metadata management– Extensibility for message enrichment– Monitoring and management– Support for the service lifecycle

Page 13: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Application Application

The goal is to create the right infrastructure for effective communication

Service-Oriented Infrastructure:A Pragmatic View

Page 14: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Service-Oriented Enterprises: An Idealized, SOAP-Based View

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Packaged Application

Z

ERP Application

Packaged Application

Y

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

SOAP

Page 15: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Service-Oriented Enterprises: A Realistic View

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Packaged Application

Z

ERP Application

Packaged Application

Y

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

SOAP

Messages

Page 16: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

BizTalk Server 2006

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Packaged Application

Z

ERP Application

Packaged Application

Y

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

BizTalk Server

Page 17: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Message Box

Illustrating BizTalk Server 2006

Orchestration

Business Rules Engine (BRE)

Business Activity Monitoring (BAM)

Health and Activity Tracking (HAT)

Visual Studio 2005

Orchestration Designer

Data Mapping

AcceleratorsHL7 SWIFT Others...

Other Software

Web Services OthersWebSphere MQ SAPFile ...

Adapters

Page 18: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Others, e.g., services registry, management, etc.

- Various, such as Enterprise UDDI Services and System Center Operations Manager 2007

- Various adapters for BizTalk ServerConnecting to existing applications via diverse protocols

- BizTalk data mapping Data transformation

Create the Necessary Service-Oriented Infrastructure: Summary

Windows-Based SolutionProblem

Providing interoperable queued messaging- BizTalk Server message box- Adapters for MSMQ, WebSphere MQ, and others

- WCFProviding a foundation for service-oriented applications

Page 19: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Goal #3: Use BPM Technologies Effectively

A business view of BPM:– Viewing a business as a set of

processes that can be explicitly defined, optimized, and managed

A technical view of BPM:– Development using software designed

for creating, executing, and monitoring process logic

Page 20: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Core BPM Technologies

Workflow– System and human

Graphical tools– For defining processes

Integration technologies– Such as adapters and message

transformationBusiness rules engines (BREs)Business activity monitoring (BAM)

Page 21: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

BPM Technologies and SOA

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Business Service

Packaged Application

Y

ERP Application

J2EE Application

.NET Application

Packaged Application

X

CICS Application

AS/400 Application

BAM

Page 22: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Microsoft’s Primary BPM Offerings

BizTalk Server 2006

Windows Workflow Foundation

Windows SharePoint Services 3.0– And Office SharePoint Server 2007

Page 23: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Windows Workflow Foundation (WF)

.NET Framework 2.0

ADO.NET

ASP.NET

. . .

Applications

Windows Vista, Windows Server 2003, Windows XP

Windows Communication

Foundation

Windows Workflow

Foundation

Windows Presentation Foundation

Windows CardSpace

.NET Framework 3.0

Page 24: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Host Process

Illustrating WF

WF Runtime Engine

Other Activities

Base Activity Library (BAL)

Activities

Workflow

Runtime Services

Visual Studio 2005

WF Workflow Designer

Page 25: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Windows SharePoint Services

Windows SharePoint Services (WSS) is a standard part of Windows Server 2003– WSS 3.0 hosts the WF runtime engine

Office SharePoint Server, part of the 2007 Microsoft Office system, adds more workflow capabilities– All of which are built on WF and WSS 3.0

Page 26: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

List Item AItem BItem C

. . .

Document Library

Windows Server 2003

Windows SharePoint Services

Site 1 Site 2 … Site N

SQL Server

WF Runtime Engine

Internet Information Services

Workflow Instances

Associations

Workflow Templates

Illustrating WSS 3.0 Workflows

Page 27: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Windows SharePoint Services

SiteWorkflow Templates

Document Library

Workflow Initiator

Workflow Participants

Task ListApprove

. . .

4) Add task to task list

1) Select document and association

Workflow Instance

2) Create workflow instance

3) Customize and start workflow instance

5) Check task list

6) Complete task

An Example WSS 3.0 Workflow

Page 28: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Creating WSS 3.0 Workflows

Developers: WF Workflow Designer– With extra WSS 3.0-supplied activities

Information workers: Office SharePoint Designer– Allows defining workflows by specifying

conditions and actions for each step– Users can now add application logic to

WSS 3.0 sites

Page 29: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

What Office SharePoint Server 2007 Adds

A group of customizable pre-defined workflows– Approval, Collect Feedback, etc.

The ability to interact with workflows directly from Office applications using InfoPath workflow forms– WSS alone mostly supports interacting

with workflows through a browserA range of content-management capabilities– Such as document templates and broad

search capabilities

Page 30: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

- BizTalk Server data mapping, adapters, etc.Integration technologies

- System workflow: BizTalk Server Orchestration Designer- Human workflow: WF Workflow Designer and Office SharePoint Designer 2007

Graphical tools for defining processes

Use BPM Technologies Effectively: Summary

Windows-Based SolutionProblem

- BizTalk Server BAMBusiness activity monitoring

Supporting human workflow - WF-based workflows in Windows SharePoint Services 3.0 and Office SharePoint Server 2007

- BizTalk Server orchestrationsSupporting system workflow

- BizTalk Server BRE- WF rulesBusiness rules engine

Page 31: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

Conclusion

Vision is essential, but so is pragmatism– Every organization’s SOA path is unique

Three pragmatic goals:#1: Standardize on service-oriented communication#2: Create the necessary service-oriented infrastructure#3: Use BPM technologies effectively

If you achieve only these three things, be happy!

Page 33: SOA, BPM, and Microsoft: A Pragmatic Viewdownload.microsoft.com/download/f/9/e/f9e619af-1ad4-4586-89af-8… · business services widely available to users, applications, business

About the Speaker

David Chappell is Principal of Chappell & Associates in San FranDavid Chappell is Principal of Chappell & Associates in San Francisco, cisco, California. Through his speaking, writing, and consulting, he heCalifornia. Through his speaking, writing, and consulting, he helps IT lps IT professionals around the world understand, use, and make better professionals around the world understand, use, and make better decisions about enterprise software.decisions about enterprise software.David has been the keynote speaker for dozens of conferences andDavid has been the keynote speaker for dozens of conferences and events events in the U.S., Europe, Asia, and Latin America. His popular seminain the U.S., Europe, Asia, and Latin America. His popular seminars have rs have been attended by tens of thousands of developers, architects, anbeen attended by tens of thousands of developers, architects, and d decision makers in forty countries. decision makers in forty countries. DavidDavid’’s books have been published in ten languages and used in coursess books have been published in ten languages and used in coursesat MIT, ETH Zurich, and other educational institutions. He is Seat MIT, ETH Zurich, and other educational institutions. He is Series Editor ries Editor for Addisonfor Addison--WesleyWesley’’s awards award--winning winning Independent Technology GuidesIndependent Technology Guides, and , and he has been a regular columnist for several publications. In hishe has been a regular columnist for several publications. In his consulting consulting practice, David has helped clients such as Hewlettpractice, David has helped clients such as Hewlett--Packard, IBM, Packard, IBM, Microsoft, Stanford University, and Target Corporation adopt newMicrosoft, Stanford University, and Target Corporation adopt newtechnologies, market new products, train their sales staffs, andtechnologies, market new products, train their sales staffs, and create create business plans.business plans.DavidDavid’’s comments have appeared in The New York Times, s comments have appeared in The New York Times, CNN.comCNN.com, and , and many other publications. Earlier in his career, he wrote softwarmany other publications. Earlier in his career, he wrote software for e for supercomputers, chaired a U.S. national standardization working supercomputers, chaired a U.S. national standardization working group, group, and played keyboards with the Peabodyand played keyboards with the Peabody--awardaward--winning Childrenwinning Children’’s Radio s Radio Theater. David holds a B.S. in Economics and an M.S. in ComputerTheater. David holds a B.S. in Economics and an M.S. in ComputerScience, both from the University of WisconsinScience, both from the University of Wisconsin--Madison.Madison.