Post on 08-Oct-2014
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
IBM WebSphere Enterprise Service Bus
Hands-on Workshop
2 SOA on your terms with our expertise
IBM WebSphere Day 2009
Featured Products …
IBM WebSphereEnterprise Service Bus (ESB)
WebSphere Integration Developer
3 SOA on your terms with our expertise
IBM WebSphere Day 2009
Objectives
After this session you should be able to:
Describe the role of an ESB in a Service Oriented Architecture (SOA)
Understand where it can be used in your organization
Use the WebSphere Integration Developer to develop a mediation
Use the Test Environment to test your mediation
4 SOA on your terms with our expertise
IBM WebSphere Day 2009
Agenda
1230 – 1300 Registration and Lunch (0:30)
1300 – 1315 Introductions (0:15)
1315 – 1345 SOA and ESB (0:30)
1345 – 1430 WebSphere Enterprise Service Bus Introduction (0:45)
1430 – 1445 Break (0:15)
1445 – 1530 Basic Mediation Lab – Parts 1 thru 4 (0:45)
1530 – 1600 SMOs & Primitives (0:30)
1600 – 1645 Basic Mediation Lab – Parts 5 thru 7 (0:45)
1645 – Review & Next Steps
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
SOA and ESB
Service Oriented Architecture and the Enterprise Service Bus
6 SOA on your terms with our expertise
IBM WebSphere Day 2009
SOA Is An Evolutionary Application Architecture.
7 SOA on your terms with our expertise
IBM WebSphere Day 2009
A programming model complete with standards, tools, methods and technologies such as Web services
A model of the business and related key performance indicators
Roles
Service Oriented Architecture Different Things to Different People
An architectural style which requires a service provider, requestor and a service description. It addresses characteristics such as loose coupling, reuse and simple and composite implementations.
Implementation
Architecture
Business
OperationsA set of agreements and contracts among service requestors and service providers that specify the quality of service.
IBM IT Service Management
IT Process ManagementIT ProcessManagement Products
IT Service Management Platform
Best Practices
IT OperationalManagement Products
IBM IT Service Management
IT Process ManagementIT ProcessManagement Products
IT Service Management Platform
Best Practices
IT OperationalManagement Products
8 SOA on your terms with our expertise
IBM WebSphere Day 2009
Core Elements of a Service-based Design
SAPAdapter
OracleAdapter
DBAccess
DBAccess
Portlets Query
Community Manager
Service Components– A technology- and language-independent representation of a service
which can be composed with other services
Service Data– A technology- and language-
independent representation of a data entity that can be passed between services
Service Bus– A technology- and protocol-
independent representation of the interconnection between services
9 SOA on your terms with our expertise
IBM WebSphere Day 2009
The promised benefits of SOA
Business process vitality
New value through reuse of assets
Improved connectivity
Closer alignment of IT to business
Business Flexibility
10 SOA on your terms with our expertise
IBM WebSphere Day 2009
Flexible Business requires Flexible IT
SOA – Loose Coupling of Business and IT
ESBSCA WSRR
11 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Component Architecture - IBM SOA Programming Model
Java BPEL Business Rules Selector
Human Task
State Machine
Implementation Types
Java
WSDLPort Type Interface Reference
Java
WSDLPort Type
Interface Maps
Mediations
Separation of Concerns
What
How
12 SOA on your terms with our expertise
IBM WebSphere Day 2009
SCA enables SOA flexibilitySOA is the architectural style that supports loosely coupled services to enable business flexibility in an interoperable, technology-agnostic manner. SOA consists of a composite set of business-aligned services that support a flexible and dynamically re-configurable end-to-end business processes realization using interface-based service descriptions.
A business contract to be implemented by ____.
WSDLX
13 SOA on your terms with our expertise
IBM WebSphere Day 2009
What is loose coupling?
Tighter coupling tends to cost more over time– Synchronizing multiple organizations on change
– Hard to move, hard to scale, hard to distribute, hard to replace
– Making changes is hard and expensive, or impossible:• Knowledge is distributed throughout the code• Same people are solving business and infrastructure problems
– Different parts of the solution are difficult to manage separately
– Adapting, redeploying updated components without affecting others
Looser coupling requires greater investment up front– More design work
– More implementation work
14 SOA on your terms with our expertise
IBM WebSphere Day 2009
Loose coupling: aspects of service interaction
15 SOA on your terms with our expertise
IBM WebSphere Day 2009
Point of Sale
Sales Tax Calculation
Accounting
Sales Tax Calculation
Financial Reporting
Cashier
Sales Tax Calculation
Accountant Controller Analyst
Infrastructure
Applications
Application functionality is tightly bound to a static notion of a process
Little flexibility to take into account new roles or processes
This creates redundant code and functions.
Inflexible, expensive and hard to maintain.
The Vertical Silo Problem
Management is focused on the health of the server, network and middleware
Applications are “black boxes”.
16 SOA on your terms with our expertise
IBM WebSphere Day 2009
Services
Applications
Infrastructure
Point of Sale
Sales Tax Calculation
Accounting
Sales Tax Calculation
Financial Reporting
Cashier
Sales Tax Calculation
Accountant Controller Analyst
Sales Tax Calculation
XX
XX XX XX
Externalizing common functions as “services”, in a standards-based fashion, allows for code re-use, saving on development and maintenance.
However, this creates an important dependency; if the ‘service’ is not working, the applications cannot function
XX
This forces us to re-examine what we call “applications” and what we call “infrastructure”!
The New World: Composable Services
17 SOA on your terms with our expertise
IBM WebSphere Day 2009
Services
Applications
Infrastructure
Point of Sale
Sales Tax Calculation
Accounting
Sales Tax Calculation
Financial Reporting
Cashier
Sales Tax Calculation
Accountant Controller Analyst
Hosting the service on an ESB destination, we have policy enforcement, mediations and a centralized management point.
The New World: Composable Services + ESB
ESB
This ESB destination can be monitored by IBM Tivoli® products….applications are no longer black boxes.
Sales Tax Calculation
18 SOA on your terms with our expertise
IBM WebSphere Day 2009
Choreograph components into business processes
Outsourced
Supplier
Shared Services
Division(s)
Customer
19 SOA on your terms with our expertise
IBM WebSphere Day 2009
Outsourced
Supplier
Shared Services
Division(s)
Customer
Add a Flexible Integration Layer - ESB
Enterprise Service Bus
Service Registry &Repository
Adapters Web ServicesGateway
Mediations
SOA ManagementData Power
Tivoli®
20 SOA on your terms with our expertise
IBM WebSphere Day 2009
SOA Reference Architecture – Enable SOA Model of the Logical Architecture
Business Innovation & Optimization ServicesProvide for better decision-making with real-time business information
Dev
elop
men
tSe
rvic
es
Integrated environment
for design and creation of solution
assets
Interaction Services
Enables collaboration between people,
processes & information
Process Services
Orchestrate and automate business
processes
Information Services
Manages diverse data and content in a
unified manner
ESB Enable interEnable inter--connectivity between servicesconnectivity between services
Partner Services
Connect with trading partners
Business App ServicesBuild on a robust,
scaleable, and secure services environment A
pps
&
Info
Ass
etsAccess Services
Facilitate interactions with existing information and application assets
IT S
ervi
ceM
anag
emen
t
Manage and secure services,
applications &
resources
Infrastructure ServicesOptimizes throughput,
availability and performance
21 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB is still an “Architectural Pattern”
“ We describe the enterprise service bus first and foremost as an architectural pattern. In fact, it is possible to construct service buses from a variety of different underlying integration technologies.
The announcement of a WebSphere ESB has caused some confusion as it would appear on the surface that IBM has done an about-face to say that the ESB is now a product. To be clear, IBM believes that an enterprise service bus is an architectural pattern.
22 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB is still an “Architectural Pattern”
WebSphere ESB is in fact, an ESB-centric product, which facilitates the creation of specific instantiations of that pattern.
The architecture pattern remains valid and is a guiding principle to enable the integration and federation of multiple service bus instantiations.”
– Rob High, SOA Foundation Chief Architect in the SOA Foundation Architecture Whitepaper
23 SOA on your terms with our expertise
IBM WebSphere Day 2009
What is an Enterprise Service Bus (ESB)?A flexible connectivity infrastructure for integrating applications as services………which reduces the number, size, and complexity of interfaces.An ESB:
Color = Data type
Shape = Protocol
CONVERTS between different transport protocols used by the participants
VIRTUALIZES the location and identity of participants
TRANSFORMS message formats between participantsAPPLIES appropriate qualities of service for the given interactionDISTRIBUTES business event information to/from disparate sources.
24 SOA on your terms with our expertise
IBM WebSphere Day 2009Li
nes
of m
aint
aina
ble
code Message Queuing
Removes the connectivity
logic from the application
Application
Mediation &custom
adaptation logic
Connectivity logic
TraditionalMessage Brokering
Removes the connectivity +
mediation logic from the
application
Application
Custom adaptation logic
Connectivity andmediation logic
Application as a service
EnterpriseService Bus
Reduces application to its
core business functions
(i.e. a service)
Connectivity,mediation & custom
adaptation logic
Direct Connectivity(Without middleware)
All connectivity, mediation and custom logic
buried within the application.
Application
Connectivity,mediation &
custom adaptation logic
Reduced development and maintenance; increased flexibility and reuse
ESB – an evolution of existing IBM technology
25 SOA on your terms with our expertise
IBM WebSphere Day 2009
IBM SOA – the right way to do SOA! The SOA Lifecycle
Gather requirementsModel & SimulateDesign
DiscoverConstruct & TestCompose
Integrate peopleIntegrate processesManage and integrate information
Manage applications & servicesManage identity & complianceMonitor business metrics
Financial transparencyBusiness/IT alignmentProcess control
26 SOA on your terms with our expertise
IBM WebSphere Day 2009
SOA Lifecycle - BPM
WebSphere Integration Developer
WebSphere Process Server
WebSphere Business Monitor
WebSphere Business Modeler
Clean hand-off from IT with Business Models,
Metrics
Constructs for dynamic and adaptive business processes deployed to
BPEL runtime
Real time management of
business processes
Feedback for continuous
improvement
27 SOA on your terms with our expertise
IBM WebSphere Day 2009
SOA Lifecycle - IntegrationWebSphere Integration
Developer
WebSphere ESB Server
IBM Tivoli Composite Application Manager
(ITCAM) for SOA
WebSphere Registry and Repository
Service Governance,
Life-Cycle and Policy
Constructs for dynamic and adaptive business services based on an integration platform
Real time management of ESB
Feedback for continuous
improvement
Model and Manage Service Lifecycles
Monitor ServicesManage Infrastructure
Deploy
Assemble
28 SOA on your terms with our expertise
IBM WebSphere Day 2009
• Business processes are integrated end-to-end• Across the company and with key partners, suppliers and customers,• Enabling it to respond with speed• To any customer demand, market opportunity or external threat.
Flexibility…
Summary - An On Demand Business
29 SOA on your terms with our expertise
IBM WebSphere Day 2009
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere Enterprise Service Bus Introduction
31 SOA on your terms with our expertise
IBM WebSphere Day 2009
Presentation Objectives
Introduce IBM WebSphere Enterprise Service Bus (WESB)
Explain SOA Infrastructure Challenges
Explain the WebSphere ESB Architecture
Explain other IBM ESB Offerings
32 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Requestor
Core Principles of the ESB Architectural Pattern
ESB inter-connects requestor and provider– Interactions are decoupled– Supports key SOA principle – separation of
concernsESB provides Service Virtualization of
– Identity via routing– Protocol via conversion– Interface via transformation
ESB also enables Aspect Oriented Connectivity– Security – Management – Logging– Auditing
Service ProviderESB
33 SOA on your terms with our expertise
IBM WebSphere Day 2009
Enterprise Service Bus Reference Architecture
Data ModelsACORD EDIFACT RosettaNet HL7 Cobol Copybook …
Message Flows (interaction patterns)Mediation Primitives
XSLT Logging Endpoint Lookup
DB Lookup Split/Merge …
Routing
Communication ProtocolsSOAP/HTTP SOAP/JMS XML/HTTP XML/JMS String/MQ FTP
Enterprise Service Bus
Custom Mediation Primitives
QoS
Age
nts,
ser
vice
requ
esto
rs,
Infra
stru
ctur
e (s
ecur
ity, m
onito
ring)
QoS
Age
nts,
ser
vice
requ
esto
rs,
Infra
stru
ctur
e (s
ecur
ity, m
onito
ring)
34 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Request Flow Decomposition
Service Provider
Enterprise Service BusService
Requestor
Request Flow
35 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Request Flow Decomposition
Service Provider
Enterprise Service BusService
Requestor
Request Flow
Protocol Translation
to ESB Base Data Format
36 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Request Flow Decomposition
Service Provider
Enterprise Service BusService
Requestor
Request Flow
Routing & Data Transformation
Protocol Translation
to ESB Base Data Format
Flow/Group of Mediations
37 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Request Flow Decomposition
Service Provider
Enterprise Service BusService
Requestor
Request Flow
Routing & Data Transformation
Protocol Translation
to ESB Base Data Format
Flow/Group of Mediations
Translation from ESB Base Data Format to
Protocol
38 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Response Flow Decomposition
Enterprise Service BusService
Requestor
Response Flow
Service Provider
Protocol Translation
Routing & Data Transformation
from ESB Base Data Format
Flow/Group of Mediations
to ESB Base Data Format
Protocol Translation
39 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Request-Response Flow Review
Service Provider
Enterprise Service BusService
Requestor
Enterprise Service BusService
Requestor
Request Flow
Response Flow
Service Provider
Protocol Translation
Routing & Data Transformation
ESB Base Data Format
Flow/Group of Mediations
ESB Base Data Format
Protocol Translation
40 SOA on your terms with our expertise
IBM WebSphere Day 2009
Typical Enterprise Service Bus Patterns?Typical Enterprise Service Bus Patterns?
41 SOA on your terms with our expertise
IBM WebSphere Day 2009
Mediation Patterns - Examples
Log/Monitor CorrelateDistributeRouteTransformProtocol transform
Enrich
Request / Response
Pub/Sub - Event Prop.
Canonical Adapter
+ + +
Transform – Log - Route
GatewayOne-way Dispersion / Aggregation
Interaction Patterns
Transformation & Routing Patterns
Composite Patterns
Examples
42 SOA on your terms with our expertise
IBM WebSphere Day 2009
Basic connectivity supported via one or more transport protocols– Dependent on underlying communication fabric(s)
Conversion inherent with support for more than one transport protocol
Enables – Virtualization of interaction protocol– Aspects of QoS (e.g., reliable delivery, transactions)
Typical requirements– HTTP (SOAP/HTTP, XML/HTTP)– MQ (SOAP/JMS/MQ, XML/MQ, text/MQ, …)– Adapters (legacy, EIS)
Standards important– WS-I, …
ESB Transport Protocols and Conversion
43 SOA on your terms with our expertise
IBM WebSphere Day 2009
ESB Interaction Patterns and Enhanced Routing
Fundamental interaction patterns based on underlying communications fabric(s) – Point-to-point
• Request/reply (synchronous and asynchronous)• One way
– Pub/Sub
Enhanced (dynamic) routing of messages– Via mediation patterns
Enables – Virtualization of location and identity– Aspects of QoS (e.g., SLA, failover)
Typical routing requirements– Round robin– Content based– Service registry driven
44 SOA on your terms with our expertise
IBM WebSphere Day 2009
Mediation Patterns – Interaction Patterns
Request / Response
Pub/Sub - Event Prop.
GatewayOne-way
Service Provider
Protocol transform
Service Requestor
Dispersion / Aggregation
Enterprise Service Bus
46 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere ESB – Interaction Patterns
Mediation Flow
Component
Export
Imports
Provider 1Provider 1
Provider 2Provider 2
Requestor
Mediation Flow Component – an SCA implementation kind
May be defined using WSDL interfaces
Hosts mediation flows
48 SOA on your terms with our expertise
IBM WebSphere Day 2009
Allow manipulation of messages during a message flow– Provided by a mediation framework enabling pattern construction
Enhance the basic interaction patterns, e.g.,– Message enrichment– Monitoring and logging– Registry, security and management– Distribution/aggregation
Enables– Aspects of QoS (security and management)
Typical requirements beyond routing and transformation– Retry– Recipient list– Custom
ESB Mediation Patterns and Message Processing
49 SOA on your terms with our expertise
IBM WebSphere Day 2009
Transformation Pattern - Transform
Service Provider
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
50 SOA on your terms with our expertise
IBM WebSphere Day 2009
Transformation Pattern - Enrich or Augment
Service Provider
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
Database, File, or Static data
51 SOA on your terms with our expertise
IBM WebSphere Day 2009
Transformation Pattern – Log or Monitor
Service Provider
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
Database, File, or Static data
52 SOA on your terms with our expertise
IBM WebSphere Day 2009
Routing Pattern - Route
Service Provider
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
53 SOA on your terms with our expertise
IBM WebSphere Day 2009
Routing Pattern - Distribute
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
Service Provider
Service Provider
Service Providers
54 SOA on your terms with our expertise
IBM WebSphere Day 2009
Routing Pattern - Correlate
Log/Monitor CorrelateDistributeRouteTransform Enrich
Enterprise Service BusService
Requestor
Transformation Patterns Routing Patterns
Service Provider
Service Provider
Service Providers
55 SOA on your terms with our expertise
IBM WebSphere Day 2009
Mediation Patterns – Common Composite Pattern Example
Service Provider
Enterprise Service BusService
Requestor
Canonical Adapter Protocol+Data Transform
+ + +
Transform – Log - Route
Database, File, or Static data
56 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere ESB Primitives
Service Provider
Enterprise Service BusService
Requestor
Request Flow
57 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere Application Server, WESB, and Process Server
WebSphereApplication
Server
WebSphereApplication Server ND
WebSphere ESB
WebSphere Process Server
App Server
Clustering
Mediation
Choreography
58 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere Process Server: Process layer builds on WebSphere ESB and WebSphere Application Server
foundation to deliver robust business process management
WebSphere ESB and WebSphere Process Server
Use WebSphere Process Server when you need to automate business processes that span people, workflows, applications, systems, platforms, and architectures.
Built on a common foundation, so that WebSphere ESB customers can easily migrate upward and leverage:
Support for all styles of integration, including human tasks, roles based task assignments, and multilevel escalation.Business rules, business state machines, and selectors to dynamically choose interface based on business scenarios Change business processes on the fly with relatively minimal skills
WebSphere Application Server: Transport layer foundation provides infrastructure
via JMS 1.1, HTTP, IIOP
WebSphere ESB: Mediation layer builds on WebSphere Application Server
foundation to provide intelligent connectivity
59 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere Process Server
WebSphere ESB
WebSphere Integration Family
SOA Core Service Component
Architecture (SCA)
Business Objects
Common Event Infrastructure
Human Tasks
Human Tasks
Business State
Machines
Business State
Machines
Business Rules and Selectors
Business Rules and Selectors
Business Processes Business Processes
Service Components
Interface Maps
Business Object Maps
Relationships
MediationsMediations
Supporting Services
WebSphere Application ServerNetwork Deployment
WebSphere Application ServerNetwork Deployment
Choreography
Mediation
Clustering AppServer Foundation
60 SOA on your terms with our expertise
IBM WebSphere Day 2009
IBM leads with the most complete product family
WebSphere MQWebSphere Application Server
WebSphere Message Broker
Increased capabilities / automation
A new version of our proven product that delivers an advanced Enterprise Service Bus. Provides universal connectivity and data transformation. Built on WebSphere MQ.
Business Process
ESB
A world-class J2EE foundation providing industry-leading levels of availability, scalability, and performance.
Provides reliable integration messaging to connect applications and Web services across more than 80 supported platform configurations.
WebSphere Process ServerFor customers who want a higher level solution to design, automate and manage composite applications and operational business processes. Built on WebSphere ESB.
WebSphere ESBA new product that delivers an Enterprise Service Bus. Provides Web Services connectivity and data transformation. Built on WebSphere Application Server.
64 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere ESB, WebSphere MB and DataPower
WebSphere ESB WebSphere Message Broker
Web Services
JMSWebSphere MQ
HTTP
XMLWebSphere Adapters
JMS
TIBCO Rendezvous®
Web Services
Weblogic JMS®
WebSphere MQ
TIBCO EMS JMS®
HTTP
SonicMQ JMS®
Biztalk®MQe Tuxedo®
Real-time IP
FTPMulticast
MQTT
XML
COBOLCopybook
EDI-X.12ACORD
EDI-FACT
ebXMLAL3
HIPAA HL7
SWIFT FIX Custom FormatsWord/Excel/PDF
Plus the following:WebSphere
Adapters
Web Services connectivityand data transformation
Universal connectivity and data transformation
High Throughput Connectivity, data transformation & security
DataPower Web ServicesWebSphere MQHTTP
WS-*Security
FTPCrypto DataGlue
SLM
ODBC XML XSLT
65 SOA on your terms with our expertise
IBM WebSphere Day 2009
WebSphere ESB V6 is part of the IBM SOA platform
J2EE/SOA standardsJ2EE, JMS, HTTP, SOAP, UDDI,
XML, WSDL, BPEL, SCA
The ONLY offering in the industry combining all you need for SOA in ONE integrated platform.
WebSphereProcess Server v6
• Service-based Process Management
WebSphereESB v6
• Service Mediation
WebSphere Application Server v6
• Service HostingO
ne In
tegr
ated
Pla
tform
66 SOA on your terms with our expertise
IBM WebSphere Day 2009
The SOA Platform – WebSphere Message Broker
J2EE/SOA standardsJ2EE, JMS, HTTP, SOAP, UDDI,
XML, WSDL, BPEL, SCA
WebSphereProcess Server v6.1
WebSphereESB v6.1
WebSphere Application Server v6.1
One
Inte
grat
ed P
latfo
rm
WebSphere Message Broker V6.1
Non-WS/J2EE technologies
(Tuxedo, IMS™, CICS®, etc.)
Non-Java OSs(COBOL, RPG, C++,
Perl, etc.)
Non-XML formats(EDI, SWIFT, HIPAA, ACORD,
Custom formats, etc.)
Non-WS/J2EE transports
(MQI, SCADA, FTP, TIBCO RV, MSMQ)
Plugs into the IBM SOA platformproviding high-speed data movement and universal mediation…
…enabling non-SOA applications to participate as services.
67 SOA on your terms with our expertise
IBM WebSphere Day 2009
Applying DataPower to the SOA/ESB Design Pattern
Demilitarized Zone
Partner Zone
Enterprise Secure Zone
Enterprise Service
Bus
Inter- Enterprise
Zone
MessageBroker
ESB
Dom
ain Firewall
Protocol Firewall
Network Infrastructure
XML Firewall and
Web Services Gateway
XS40
68 SOA on your terms with our expertise
IBM WebSphere Day 2009
Summary
The ESB is a basic requirement of a Service Oriented Architecture
An ESB provides mediations which facilitate the connection of services
IBM offers a world-class ESB Portfolio– WESB, Message Broker, DataPower
WebSphere ESB is:– A standards-based ESB
– An integral part of the WebSphere family
– Executes the mediations of an ESB
– Is built on the foundations of WebSphere Application Server and WebSphere Integration Developer
69 SOA on your terms with our expertise
IBM WebSphere Day 2009
70 SOA on your terms with our expertise
IBM WebSphere Day 2009
71 SOA on your terms with our expertise
IBM WebSphere Day 2009
Agenda for Day One
1230 – 1300 Registration and Lunch (0:30)
1300 – 1315 Introductions (0:15)
1315 – 1345 SOA and ESB (0:30)
1345 – 1430 WebSphere Enterprise Service Bus Introduction (0:45)
1430 – 1445 Break (0:15)
1445 – 1530 Basic Mediation Lab – Parts 1 thru 4 (0:45)
1530 – 1600 SMOs & Primitives (0:30)
1600 – 1645 Basic Mediation Lab – Parts 5 thru 7 (0:45)
1645 – Review & Next Steps
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
Basic Mediation Lab
Parts 1 thru 4
73 SOA on your terms with our expertise
IBM WebSphere Day 2009
Basic Mediation Lab (Parts 1 thru 4)
What is this exercise about– The objective of this lab is to provide you with an understanding of the IBM WebSphere® ESB
product and its capabilities.
Lab Requirements– List of system and software required for the student to complete the lab:
• WebSphere Integration Developer (WID) V6.1 installed• WebSphere Enterprise Service Bus (WESB) V6.1 test environment installed
What you should be able to do– Create a mediation module using the WebSphere Integration Developer Tooling.
– Have a fair understanding of the out of box mediation module primitives.
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
SMOs & Primitives
75 SOA on your terms with our expertise
IBM WebSphere Day 2009
Purpose …
Protocol switching– SOAP, JMS, MQ, SCA, HTTP, Adapters
Content transformation
Service Message Objects
76 SOA on your terms with our expertise
IBM WebSphere Day 2009
Functional Components …
Mediation Module
Imports
Mediation Flow
Exports
Java Components
77 SOA on your terms with our expertise
IBM WebSphere Day 2009
Mapping Operations …
Specify source interface
Specify target interface
Specify mapping between source and target operations
78 SOA on your terms with our expertise
IBM WebSphere Day 2009
Operations need transformed …
Parameters between operation need transformed …
We need to specify how to transform inputs to outputs …
79 SOA on your terms with our expertise
IBM WebSphere Day 2009
Mediation Flow Nodes …
80 SOA on your terms with our expertise
IBM WebSphere Day 2009
Transforming Content …
BO Mapper …– Visual transformation
mapping
Custom Mediation …– Invokes Java code to
perform transformation logic
XSL Transform …– Invokes an XSLT Style Sheet to
perform transformation logic
81 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Invoke …
82 SOA on your terms with our expertise
IBM WebSphere Day 2009
Endpoint Lookup …
83 SOA on your terms with our expertise
IBM WebSphere Day 2009
Event Emitter …
84 SOA on your terms with our expertise
IBM WebSphere Day 2009
Fan Out/Fan In …
85 SOA on your terms with our expertise
IBM WebSphere Day 2009
Other nodes …
86 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Message Object
ServiceMessageObject
headers context body
SMOHeader
JMSHeader
SOAPHeader correlation transient shared
Mediation primitives process messages as SMOs
The SMO is an extension of the Business Object (BO) structure
It contains: context, message headers, fault details, an array of properties and payload information
87 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Message Object APIAccessible by API (com.ibm.websphere.sibx.smo.*)
ServiceMessageObject
headers context body
SMOHeader
JMSHeader
SOAPHeader correlation transient shared
ServiceMessageObject
context
transient
ServiceMessageObject smo = (ServiceMessageObject)a_type;
DataObject context = smo.getContext()
DataObject transient = context.getTransientContext();
88 SOA on your terms with our expertise
IBM WebSphere Day 2009
Context/context
com.ibm.websphere.sibx.smobo.ContextType
Correlation and Transientcontext represented by BOsset on the input node of flow
Service Message Object - Context
correlationUser specified BO
Set on request flow and persistedacross call out on response flow
transientUser specified BO
Set on individual flows and notpersisted
failInfocom.ibm.websphere.sibx.smobo.FailInfoType
Set on fail terminal invocation
/context/correlationgetCorrelation()
/context/transientgetTransient()
/context/failInfogetFailInfo()
sharedUser specified BO
Set on request flow and persistedin request flow
/context/transientgetShared()
89 SOA on your terms with our expertise
IBM WebSphere Day 2009
Service Message Object
Provides common representation of content exchanged between services
Structured content includes body content (Business Object) and headers
Headers include transport-specific data (e.g. JMS headers and properties, SOAP headers, MQ headers)
Logical structure accessible using XPath and SDO APIs
SMO is implemented as a specialization of Business Object
90 SOA on your terms with our expertise
IBM WebSphere Day 2009
Summary …
Mediations are designed to transform and route data content
Primitives are the tools that make that possible
There are many provided primitives as well as the ability to design your own custom primitives
The SMO API is the programming model for all WebSphere ESB mediations
91 SOA on your terms with our expertise
IBM WebSphere Day 2009
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
Basic Mediation Lab
Parts 5 thru 7
93 SOA on your terms with our expertise
IBM WebSphere Day 2009
Basic Mediation Lab (Parts 5 thru 7)
What is this exercise about– The objective of this lab is to provide you with an understanding of the IBM WebSphere® ESB
product and its capabilities.
Lab Requirements– List of system and software required for the student to complete the lab:
– WebSphere Integration Developer (WID) V6.1 installed
– WebSphere Enterprise Service Bus (WESB) V6.1 test environment installed
What you should be able to do– Create a mediation module using the WebSphere Integration Developer Tooling.
– Have a fair understanding of the out of box mediation module primitives.
© 2009 IBM Corporation
SOA on your terms with our expertise
IBM WebSphere Day 2009
Review & Next Steps
95 SOA on your terms with our expertise
IBM WebSphere Day 2009
Next Steps
Think about your environment,– Do you have an ESB today?– Is your company planning to move to a SOA?– How will you provide messaging services to your SOA based applications?– How will you handle process flow, human and automated, short and long
running?– How will you design, managing and implement all those services?
96 SOA on your terms with our expertise
IBM WebSphere Day 2009
Reference Materials
IBM Redbooks™ @ http://www.redbooks.ibm.com/– SG24-7608 – Getting Started with IBM WebSphere Process Server and IBM
WebSphere Enterprise Service Bus Part 1: Development– SG24-7642 – Getting Started with IBM WebSphere Process Server and IBM
WebSphere Enterprise Service Bus Part 2: Scenario– SG24-7643 – Getting Started with IBM WebSphere Process Server and IBM
WebSphere Enterprise Service Bus Part 3: Run time– SG24-7732 – WebSphere Business Process Management V6.2 Production
Topologies (Currently in draft)– SG24-7369 – Patterns: SOA Design Using WMB and WESB– SG24-7406 – Connecting Enterprise Applications to WESB
WebSphere ESB @ ibm.com– http://www-
306.ibm.com/software/info1/websphere/index.jsp?tab=integration/esb
97 SOA on your terms with our expertise
IBM WebSphere Day 2009
We appreciate your feedback in order to improve this event.
Please fill out the survey form.