• No results found

Redbook Overview Patterns: SOA Design with WebSphere Message Broker and WebSphere ESB

N/A
N/A
Protected

Academic year: 2021

Share "Redbook Overview Patterns: SOA Design with WebSphere Message Broker and WebSphere ESB"

Copied!
33
0
0

Loading.... (view fulltext now)

Full text

(1)

Redbook Overview

Patterns: SOA Design with WebSphere Message

Broker and WebSphere ESB

Presenter: Kim Clark

Email: [email protected]

Date: 27/02/2007

(2)

Overview

ƒ

IBM Redbooks

ƒ

Enterprise Service Bus definition and product mapping

ƒ

Combining Enterprise Service Buses

ƒ

WebSphere Message Broker & WebSphere ESB features

(3)

Some statistics about IBM Redbooks

ƒ Residents return and train 22 people on average with the new skills they have learned.

ƒ Residents report an average productivity gain of 25%.

ƒ 97% of managers responded “YES” to “ Would you again invest another employee in a future ITSO residency?”

Total ITSO residents: 1103

264 Redbooks

124 Redpapers

Residents donated over 5425

weeks of their time in 2006

From a recent survey: “How would you define the

ƒ

~5 weeks duration

ƒ

~4 residents

ƒ

Generation and capture of

intellectual capital

ƒ

Open to IBMers, business

partners, and customers

www.redbooks.ibm.com

(4)

Related Redbooks

ƒ

Apr 2004 – Patterns: Service-Oriented Architecture and Web Services

ƒ

Jul 2004 – Patterns: Implementing an SOA Using an Enterprise Service Bus

ƒ

May 2005 – Patterns: SOA with an ESB in WebSphere Application Server V6

ƒ Nov 2005 – Patterns: Integrating Enterprise Service Buses in an SOA

ƒ

Jan 2006 – Patterns: Extended Enterprise SOA and Web Services

ƒ

Jan 2006 – Patterns: Implementing Self-Service in an SOA Environment

ƒ

Mar 2006 – Patterns: SOA Client Access Integration Solutions

ƒ

Mar 2006 – Enabling SOA Using WebSphere Messaging

ƒ

Jun 2006 – Getting Started with WebSphere Enterprise Service Bus V6

ƒ

Oct 2006 – Patterns: SOA Foundation – Service Connectivity Scenario

ƒ

Sep 2006 – Patterns: SOA Foundation – Service Creation Scenario

ƒ

Feb 2007 Draft – Implementing an ESB using WebSphere Message Broker and WebSphere ESB on z/OS

(5)

Cautionary Note

ƒ

“Patterns: SOA Design with WebSphere Message

Broker and WebSphere Enterprise Service Bus”

This IBM Redbook is still in draft. Some of the details

(6)

Patterns &

Products

Part 2:

Product capabilities

in relation to SOA and ESB

Part 3:

Physical Scenarios

Chapter 5: WebSphere Enterprise

Service Bus in SOA

Chapter 6: WebSphere Message Broker in SOA Chapter 7: WebSphere DataPower Appliances in SOA Chapter 8: WebSphere Service Registry and Repository

Chapter 3: Product Definitions

Chapter 2: Introduction to SOA and

ESB

Chapter 4:

ESB Runtime Patterns and Product Mappings

Chapter x: Scenarios Overview

Scenarios: Using WESB and WMB in

combination

Scenarios: Extending an ESB with

WSRR

Scenarios: DataPower in an SOA Chapter 9:

ESB Design Guidelines

Table

of

(7)

Services

atomic and composite

Operational Systems

Service Components

Consumers

Business Process

Composition; choreography; business state machines

Se rv ice Pr o v id er Se rv ice C o ns u m er In teg ratio n (En terp rise Ser v ice Bu s) QoS La y e r (Se c u rity , Ma na ge me nt & Monit o ring In fra s truc ture Se rv ic es ) Data A rch ite c tu re (meta-d a ta ) & Business Intelligence Go v e rnance

Channel

B2B

Packaged Application Custom Application OO Application

(8)

ƒ

Allows for

dynamic

selection,

substitution,

and matching

ƒ

Enables you to

find both the

applications and

the interfaces

for re-use

ƒ

Decouples the

point-to-point

connections

from the

interfaces

Turn this…

ƒ

Enables more

flexible coupling

and decoupling

of the

applications

…into this

Enterprise Service Bus: Increases Flexibility and Reuse

Enterprise Service Bus

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Service

Interface

Interface

Interface

(9)

ESB is an architectural pattern, not a product

ƒ

ESB Logical Components

Hub

ESB Gateway

Service Registry

Adapter Connector

Path Connector

SOA Firewall

Partner Gateway

ƒ

ESB Enablement Products

WebSphere Enterprise Service Bus

WebSphere Message Broker

WebSphere DataPower SOA Appliances

ƒ

ESB Related Products

WebSphere Service Registry and Repository

WebSphere Transformation Extender

WebSphere Platform Messaging

WebSphere MQ

WebSphere Adapters

(10)

Enterprise

Zone: Enterprise Service Bus

Hub

Hub

Hub

<Service Consumer>

<Service Provider>

<Service Provider>

Service

Registry

Connector

<Service Provider>

Connector

Connector

Connector

App Server/

Services

App Server/

Services

App Server/

Services

App Server/

Services

WebSphere Application Server V6 WebSphere Enterprise Service Bus V6.0.2

CICS Transaction Server with CICS Transaction

Gateway Daemon Websphere Application Server V6 WebSphere Service Registry and Repository V6.0.1 SAP WebSphere

Adapter for SAP V6.0.2

J2C Resource Adapter for CICS

SOAP/JMS

SOAP/HTTP

(11)

ESB Hub – Candidate capabilities

ƒ

Routing and brokerage

ƒ

Namespace translation

ƒ

Service virtualisation

ƒ

Messaging styles

ƒ

Transport protocols

ƒ

Interface definition

ƒ

Messaging model

ƒ

Data enrichment

ƒ

Quality of Service

ƒ

Message processing

ƒ

Data Modelling

ƒ

Service levels

ƒ

Infrastructure intelligence

ƒ

Administration

ƒ

Security

(12)

Enterprise Secure Zone Internet

Zone

Demilitarized Zone

Zone: Enterprise Service Bus

<Service Provider>

<Service Provider>

<Service Provider> Connector

Connector App Server/ Services App Server/ Services <Service Consumer> App Server/ Services Connector Hub Hub Hub Partner Gateway <Service Provider> App Server/ Services Service Registry ESB Gateway App Server/ Services <Service Consumer> App Server/ Services External Access

Primary nodes Required for external access Addition to support partner communities WebSphere Application Server V6 WebSphere Service Registry and Repository V6.0.1 WebSphere Partner Gateway SAP WebSphere Adapter for SAP V6.0.2 WebSphere MQ WebSphere Application Server WebSphere Message Broker V6.0.0.3 DataPower XI50 SOAP/HTTP CICS Transaction Server + CICS MQ Bridge

ESB – Advanced Topology

Domain Fire w a ll SOA Firewall Proto c ol Fi re w a ll IBM HTTP Server and/or DataPower XS40

(13)

One ESB or two?

ƒ

Multiple technologies within

a single ESB

WebSphere Enterprise

Service Bus

WebSphere Message

Broker

WebSphere DataPower

ƒ

Multiple ESBs

Governance bodies

Funding models

Organizational units

Geographies

Business strategies

Technology domains

(14)

Enterprise

Single service bus containing multiple technologies

Domain 1

Zone: Enterprise Service Bus

<Service Provider>

<Service Provider>

Connector

<Service Provider>

Connector

Connector

App Server/

Services

App Server/

Services

App Server/

Services

Hub

<Service Consumer>

App Server/

Services

WebSphere Enterprise Service Bus

Hub

ESB

Gateway

Service

Registry

WebSphere Message Broker WebSphere DataPower

(15)

Domain 1

Enterprise Zone

Zone: ESB

Hub

A

App Server/

Services

<Service Provider>

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

Domain 2

Zone: ESB

Hub

B

App Server/

Services

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

ESB

Gateway

Service

Registry

ESB

Gateway

(16)

ESB

connected ESB

Brokered

ESB

Federated

ESB

(17)

Domain 1

Enterprise Zone

Zone: ESB

Hub

A

App Server/

Services

<Service Provider>

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

Domain 2

Zone: ESB

Hub

B

App Server/

Services

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

ESB

Gateway

Service

Registry

Domain 3

ESB

Gateway

App Server/

Services

<Service Consumer>

(18)

Domain 2

Enterprise Zone

Domain 1

Zone: ESB

Hub

A

App Server/

Services

<Service Provider>

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

Service

Registry

ESB

Gateway

Hub

B

App Server/

Services

<Service Provider>

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

(19)

Domain 2

Enterprise Zone

Domain 1

Zone: ESB

Hub

A

App Server/

Services

<Service Provider>

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

ESB

Gateway

Hub

B

App Server/

Services

<Service Provider>

App Server/

Services

<Service Consumer>

ESB

Gateway

Service

Registry

Registry federation or replication

(20)

WebSphere Enterprise Service Bus – Overview

• Service Message Object (SMO)

• Service Component Architecture (SCA)

• Module = J2EE Application/EAR

(21)

Inside the Service Message Object

context

smo

correlation transient failInfo

headers

SMOHeader JMSHeader SOAPFaultInfo

body

MQHeader

(22)

WebSphere ESB v6.0.2 – Key New Features

ƒ

New bindings:

WebSphere MQ JMS

WebSphere MQ native binding Performance

ƒ

Administrative configuration

Administrative configuration of end points

Administrative configuration of meditations

Dynamic end-point selection

ƒ

Dynamic configuration

Integration with WebSphere Service Registry and Repository

New dynamic end point lookup primitive

ƒ

Monitoring and Management

CEI (common event infrastructure) primitive for business activity

monitoring and management

(23)

WebSphere Message Broker – Core Capabilities

ƒ

Protocols and data formats:

COBOL Copybook,CICS, VSAM,

HL7, SWIFT, HL7, HIPAA,

EDI-X.12, EDIFact, FIX, ACORD / AL3,

TLOG, C structures, etc.

WebServices: XML, SOAP, JMS

ƒ

Transports:

WebSphere MQ: Enterprise,

Mobile, Real-Time, Multicast and

Telemetry

HTTP, HTTPS, JMS

ƒ

High Volume Performance and

Throughput

(24)

WebSphere Message Broker – Key Recent Features

ƒ

Registry lookup nodes

ƒ

Java compute nodes

ƒ

HTTPS connectivity

ƒ

Integration with WebSphere Transformation

Extender

(25)

Candidate Environment Criteria

ƒ

Candidate WebSphere Enterprise

Service Bus Environment

J2EE environment

WebSphere Application Server

environment

WebSphere Process Server

environment

SCA/SDO standardisation

ƒ

Candidate WebSphere Message

Broker Environment

WebSphere MQ environment

Very high-performance and

throughput

Multiple transport protocols

Support for a wide range of

non-XML data formats

Complex event processing

Multiple implementation

languages

Design focused on low level

Please note that these criteria should not be used in isolation, nor should

they be considered a complete list. They should be used in conjunction with

(26)

Combining WebSphere Message Broker

and WebSphere Enterprise Service Bus

WESB

WMB

JMS

MQ

MQ JMS

HTTP

HTTPS

(27)

WebSphere DataPower – SOA Related Capabilities

ƒ

XML Acceleration

XML/SOAP firewall, filtering based on message

content, headers, or other network variables

Incoming/outgoing data validation

Schema validation

XML security, access control, authentication, and

authorization

ƒ

XML Protection

Includes XML threat, XML denial of service, message

tampering protocol threat, XML virus, dictionary

attack.

http://www-128.ibm.com/developerworks/websphere/techjournal/

0603_col_hines/0603_col_hines.html

ƒ

Security

XML Web services access control: Includes

WS-Security, WS-Trust, X.509, SAML, SSL, LDAP,

RADIUS and simple client/URL maps.

Authentication and Authorization: Support includes

IBM Tivoli Federated Identity Manager (TFIM) and

IBM Tivoli Access Manager.

ƒ

Service Virtualization

Routing: URL re-writing, WS-Addressing, HTTP

header manipulation, based on message content,

database lookups or registry lookups.

Data Model and Namespace translation. Wire speed

translation using XSLT.

Versioning: Combining routing, lookups and

translation to manage service versioning.

ƒ

Protocol Switching

Protocols. Includes HTTP, HTTPS, JMS,

WebSphere MQ.

Any-to-any Transformation Engine: Examples

include EDI, COBOL Copybook, ISO 8583, CSV,

ASN.1 and ebXML.

ƒ

Monitoring and Management

Statistics: Includes throughput, transaction counts,

errors, server health information, traffic statistics

Remote management: Includes SNMP, script-based

configuration, remote logging

Web service management: Support for Web

services Distributed Management (WSDM), UDDI,

(28)

Zone: Enterprise Service Bus

Demilitarized

Zone

Internet Zone

Enterprise Secure Zone

<Service Provider> <Service Provider>

Business

Service

Registry

App Server/

Services

App Server/

Services

Hub

ESB

Gateway

<Service Consumer>

App Server/

Services

External Access

Domain F

irew

a

ll

P

rotocol Fire

w

a

ll

<Service Consumer>

App Server/

Services

<Service Consumer>

App Server/

Services

Connector

<Service Provider>

App Server/

Services

Connector

SOA

Firewall

DataPower XS40 as an

“SOA Firewall

DataPower XI50 as a

“ESB Gateway”

DataPower XI50 as a

“Back End Resource Gateway”

Connector

DataPower XA35 as a

“XML Accelerator”

(29)

WebSphere Services Registry and Repository

WebSphere Service Registry and Repository

Publish

Find

Enrich

Manage

Govern

Encourage Reuse

Find and reuse services

for building blocks for new

composite applications.

Enhance Connectivity

Enable dynamic and

efficient interactions

between services at

runtime.

Enable Governance

Govern services

Publish Find Enrich Govern Manage

Help optimize

(30)

Service Registry – Key ESB related features

ƒ

Service virtualization

Runtime access to acquire endpoint details dynamically

Versioning

Routing

Data model translation

ƒ

Policy

Runtime and/or configuration time

Access to policies defining quality of service attributes

Could include validation of interface schema

ƒ

Availability and performance

Store and provide performance and availability data

(31)

Scenarios in the Redbook

ƒ

Configuring WESB and WMB for HTTPS

ƒ

Directly Connected ESBs – WESB and WMB

WESB -> WMB using SOAP over HTTP

WESB -> WMB using MQJMS

WESB -> WMB using MQXML

WMB -> WESB using SOAP over HTTP

ƒ

WebSphere DataPower as an SOA Firewall

ƒ

Using WSRR from WESB and WMB

(32)

Summary

ƒ

IBM Redbooks

ƒ

Enterprise Service Bus definition and topologies

ƒ

Combining Enterprise Service Buses

ƒ

WebSphere Message Broker & WebSphere ESB

(33)

References

Related documents

Heart aging measured with coronary artery calcium scoring and cardiovascular risk assessment algorithms in HIV infected patients. Types of Myocardial Infarction Among

Than his sentence about college entrance exams used to discuss declarative sentence ends with test may be tested in preparing for over braless in your exam.. Through the national and

Supporting this result, cultures containing marine ANME-1 and ANME-2 were shown to incorporate carbon derived from labelled methane into archaeol, monounsaturated archaeol

than the rights of the parties addressed in Day,” and the Court ultimately deferred to the Texas Supreme Court to “recognize and pronounce such. an expansion” of the holding in Day

SCs increase neural activity in reward-related brain re- gions, independent of pharmacological withdrawal [9], SC-induced craving can predict increased smoking be- havior [10],

– public void read(MQMD md, List headers, MQDataInputStream input);. – public void write(MQMD md, List headers,

Application and Information Assets What’s new ƒ IBM WebSphere Business Modeler ƒ IBM WebSphere Integration Developer ƒ IBM WebSphere Process Server ƒ IBM WebSphere

Exporting data from Modeler Rational ClearCase WebSphere Publishing Server WebSphere Business Monitor Rational RequisitePro DB2 WebSphere Integration Developer WebSphere