patterns: implementing an soa using an enterprise service bus

Download Patterns: Implementing an SOA Using an Enterprise Service Bus

Post on 29-Nov-2014

774 views

Category:

Technology

0 download

Embed Size (px)

DESCRIPTION

How to implement a service oriented architecture (SOA) using an Enterprise Service Bus (ESB)

TRANSCRIPT

  • 1. ibm.com/redbooks Patterns: Implementing an SOA Using an Enterprise Service Busus Martin Keen Amit Acharya Susan Bishop Alan Hopkins Sven Milinski Chris Nott Rick Robinson Jonathan Adams Paul Verschueren Design and implement an ESB using current WebSphere technologies Service-oriented architecture and Web services Learn by example with practical scenarios Front cover
  • 2. Patterns: Implementing an SOA Using an Enterprise Service Bus July 2004 International Technical Support Organization SG24-6346-00
  • 3. Copyright International Business Machines Corporation 2004. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. First Edition (July 2004) This edition applies to WebSphere Application Server V5.1, WebSphere Business Integration Server Foundation V5.1, and WebSphere Business Integration Message Broker V5.0. Note: Before using this information and the product it supports, read the information in Notices on page ix.
  • 4. Copyright IBM Corp. 2004. All rights reserved. iii Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi The team that wrote this redbook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi Part 1. Patterns for e-business and SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 1. Introduction to Patterns for e-business . . . . . . . . . . . . . . . . . . . 3 1.1 The Patterns for e-business layered asset model . . . . . . . . . . . . . . . . . . . . 4 1.2 How to use the Patterns for e-business . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.1 Select a pattern or Custom design . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.2 Selecting Application patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.2.3 Review Runtime patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.2.4 Review Product mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.2.5 Review guidelines and related links . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Chapter 2. e-business on demand and service-oriented architecture . . . 17 2.1 Overview of e-business on demand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.1.1 Key business attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.1.2 Key technology attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.1.3 Key requirements for integration flexibility . . . . . . . . . . . . . . . . . . . . 24 2.2 e-business on demand and the service-oriented architecture. . . . . . . . . . 25 2.3 The on demand Operating Environment and the ESB . . . . . . . . . . . . . . . 26 2.3.1 The on demand Operating Environment. . . . . . . . . . . . . . . . . . . . . . 27 Chapter 3. Web services and service-oriented architecture . . . . . . . . . . . 33 3.1 Drivers for Web services and SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2 Introduction to service-oriented architecture . . . . . . . . . . . . . . . . . . . . . . . 37 3.2.1 Coupling and decoupling of aspects of service interactions . . . . . . . 39 3.2.2 Designing connectionless services . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.2.3 Service granularity and choreography . . . . . . . . . . . . . . . . . . . . . . . 47 3.2.4 Implications of service-oriented architecture. . . . . . . . . . . . . . . . . . . 52 3.3 Web services architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.3.1 Web services interoperability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 3.3.2 Advanced and future Web services standards . . . . . . . . . . . . . . . . . 58
  • 5. iv Patterns: Implementing an SOA Using an Enterprise Service Bus 3.4 Emerging infrastructure components for Web services and SOA . . . . . . . 63 3.5 Web services and SOA together. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.6 Conclusion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 3.7 Further information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Part 2. Enterprise Service Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Chapter 4. Enterprise Service Bus and SOA patterns . . . . . . . . . . . . . . . . 73 4.1 Introducing the Enterprise Service Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.2 The role of the ESB in SOA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 4.3 A capability model for the Enterprise Service Bus . . . . . . . . . . . . . . . . . . 82 4.3.1 The minimum capability ESB implementation. . . . . . . . . . . . . . . . . . 84 4.3.2 The Enterprise Service Bus is an infrastructure component . . . . . . . 87 4.3.3 Security issues affecting the Enterprise Service Bus . . . . . . . . . . . . 89 4.4 SOA profile of the Application Integration patterns . . . . . . . . . . . . . . . . . . 90 4.4.1 Summary of Process Integration patterns. . . . . . . . . . . . . . . . . . . . . 91 4.4.2 The Enterprise Service Bus pattern . . . . . . . . . . . . . . . . . . . . . . . . . 96 4.4.3 Other SOA patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 4.4.4 Modeling additional SOA components . . . . . . . . . . . . . . . . . . . . . . 106 4.4.5 Extended Enterprise SOA patterns . . . . . . . . . . . . . . . . . . . . . . . . . 108 4.5 Common ESB scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 4.5.1 Basic integration of two systems. . . . . . . . . . . . . . . . . . . . . . . . . . . 113 4.5.2 Enable wider connectivity to one or more applications . . . . . . . . . . 115 4.5.3 Enable wider connectivity to legacy systems . . . . . . . . . . . . . . . . . 117 4.5.4 Enable wider connectivity to an EAI infrastructure . . . . . . . . . . . . . 118 4.5.5 Implement controlled integration between organizations . . . . . . . . 120 4.5.6 Automate processes by choreographing services . . . . . . . . . . . . . 122 4.5.7 Implement a robust SOA with Web services support . . . . . . . . . . . 123 4.5.8 Architecture decision questions . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 4.6 Summary and next steps in the design process . . . . . . . . . . . . . . . . . . . 131 Chapter 5. ESB and SOA component implementations . . . . . . . . . . . . . 133 5.1 Runtime product descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 5.1.1 IBM WebSphere Application Server V5.1 . . . . . . . . . . . . . . . . . . . . 134 5.1.2 IBM WebSphere MQ V5.3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 5.1.3 IBM WebSphere Application Server Network Deployment V5.1. . . 135 5.1.4 IBM WebSphere Business Integration Message Broker V5.0. . . . . 136 5.1.5 IBM WebSphere Business Integration Server Foundation V5.1 . . . 137 5.1.6 IBM WebSphere InterChange Server V4.2. . . . . . . . . . . . . . . . . . . 138 5.1.7 IBM WebSphere MQ Workflow V3.5. . . . . . . . . . . . . . . . . . . . . . . . 139 5.1.8 IBM WebSphere Business Integration Connect V4.2.1 . . . . . . . . . 139 5.2 SOA component product mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 5.2.1 Service Directory product mappings . . . . . . . . . . . . . . . . . . . . . . . . 141 5.2.2 Business Service Choreography product mappings . . . . . . . . . . . . 142
  • 6. Contents v 5.2.3 SOA product mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 5.3 Product capabilities for the Enterprise Service Bus . . . . . . . . . . . . . . . . 144 5.3.1 Assessment of ESB capabilities by product . . . . . . . . . . . . . . . . . . 145 5.3.2 WebSphere Business Integration Message Broker . . . . . . . . . . . . 145 5.3.3 WebSphere Application Server Network Deployment. . . . . . . . . . . 147 5.3.4 WebSphere Business Integration Connect . . . . . . . . . . . . . . . . . . . 149 5.3.5 Options for customized implementation . . . . . . . . . . . . . . . . . . . . . 149 Chapter 6. Endpoint enablement roadmap . . . . . . . . . . . . . . . . . . . . . . . . 153 6.1 Web services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 6.1.1 HTTP service bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 6.1.2 JMS servic

Recommended

View more >