Upload
peter-paul-van-de-beek
View
3.775
Download
2
Tags:
Embed Size (px)
DESCRIPTION
A Service Bus offers capabilities to transform, route, and queue messages. This session will show you how to implement a Service Bus based on good practices and patterns. Expect far more than just theory, since the examples are based on real life cases. Each of them is based on an implementation of the Oracle Service Bus or Mediator from the SOA Suite.
Citation preview
Solid Service Bus Implementations
Using OSB, Mediator or Both
Peter Paul van de Beek
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
Service Bus?
Service Bus
Application Application Application
Application Application Application
VETRO pattern – Dave Chapell
Validate Enrich Transform
● Translate Route Operate
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
Overview Integration Infrastructure
Oracle Oracle ESB (OESB) Mediator
BEA ALSB Oracle Service Bus (OSB)
Collaxa Oracle BPEL
Sunopsis Oracle Data Integrator (ODI)
2004
2008
2006
11G2006
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
Mediator
Route:● Determines the service component to send the
messages to. Validate:
● Based on schematron or an XSD file Filter:
● applies a filter expression before any service is invoked.
Transformation:● XSLT
Mediator - Examples
Mediator - Examples
Routing
Mediator – Performance - Validate
Performance in general
Use Mediator for….
Intracomposite mediation of● Data● Protocol
Limited data enrichment needed Tight integration with other SOA Suite
components is needed
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
Oracle Service Bus (OSB)
Consumer
Provider
Proxy Service
Business Service
MessageMagic
OSB - VETRO
Validation● XSD, store results in temp variables to alter
header or use in conditional flows Enrichment Transformation
● Message Format Language (MFL) example Route
● eg Content-Based, dynamic endpoint selection Operate
● Business Service
OSB – Transformation – MFL example
LBA Specific
Statement
XML
MFL
XSL
XSD
Bank
Account
.XSD
txt
<XML>
Financial
Transaction
<XML>
Normalised
Statement
<XML>
OSB – Enterprise Capabilities – Parallel flow
.jspx
OSB
Proxy service
Bus. service
BAMService
Uploadfile
Uploadfile
Uploadfile
Fin. Transaction
Norm.Stmt
IterateStmt line
Features from OESB / Mediator
Adapters Domain Value Maps
Use OSB for…
Connect multiple domains / SCA composites Interface with external partners Very high throughput (100 ~ 1000 transacts/s) “Enterprise Level” management capabilities
Need for temporary variables (data handling) Compose services
● However short time span(synchronous) , stateless
OSB – Mediator combination
Oracle Service Bus
Consumers
SCASCA SomeApplication
J2EE
Mediator Mediator
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
BPEL
Stateful Orchestrate
(processes)
ODI – Oracle Data Integrator
Bulk ‘n Batch
Use ODI for…
Data integration High-volume ELT – Extract Load Transform
Alongside a Service Bus
Agenda
Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up
Oracle AIA as an Example
Oracle’s approach to Application Integration● Based on a Canonical Model
AIA – Implementation uses:
Adapter ABCS EBS ABCS AdapterEBSEBF
BPEL Mediator BPELMediatorBPEL
• Complex Routing• Human Tasks
• Validate• Enrich• Transform• Error Handling
• Routing• Virtualization
Canonical
• Connectivity Abstraction• Protocol Switching
Mediator Mediator
Leveraging OSB in AIA
Requires● Stateless integration● Short-lived processes● Synchronous responses (downstream)● No interdependencies between messages
Lacks ● Lifecycle mgmt of OSB services● AIA Custom xpath functions● Instance level monitoring● AIA Xref and DVM functions
AIA – Implementation with OSB:
Adapter ABCS EBS ABCS AdapterEBSEBF
OSB OSB OSBOSBBPEL
• Complex Routing• Human Tasks
• Validate• Enrich• Transform
• Routing• Virtualization
Canonical
• Connectivity Abstraction• Protocol Switching
Mediator Mediator
Usage Adapters, ESB, BPEL in AIA
Wrap up & …
Infrastructure components● ODI● BPEL● Mediator● OSB
Apply Service patterns● Strong technology solutions● Business value
Pick the right tool for your needs
Solid Service Bus ImplementationsPlease Fill Out Your Evaluations
Peter Paul van de Beek
@deltalounge
www.deltalounge.net/wpress/
Whitehorses
blogs.whitehorses.nl