34
Solid Service Bus Implementations Using OSB, Mediator or Both Peter Paul van de Beek

Kscope Solid Service Bus Implementations

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

Page 1: Kscope   Solid Service Bus Implementations

Solid Service Bus Implementations

Using OSB, Mediator or Both

Peter Paul van de Beek

Page 2: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 3: Kscope   Solid Service Bus Implementations

Service Bus?

Service Bus

Application Application Application

Application Application Application

Page 4: Kscope   Solid Service Bus Implementations

VETRO pattern – Dave Chapell

Validate Enrich Transform

● Translate Route Operate

Page 5: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 6: Kscope   Solid Service Bus Implementations

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

Page 7: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 8: Kscope   Solid Service Bus Implementations

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

Page 9: Kscope   Solid Service Bus Implementations

Mediator - Examples

Page 10: Kscope   Solid Service Bus Implementations

Mediator - Examples

Routing

Page 11: Kscope   Solid Service Bus Implementations

Mediator – Performance - Validate

Page 12: Kscope   Solid Service Bus Implementations

Performance in general

Page 13: Kscope   Solid Service Bus Implementations

Use Mediator for….

Intracomposite mediation of● Data● Protocol

Limited data enrichment needed Tight integration with other SOA Suite

components is needed

Page 14: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 15: Kscope   Solid Service Bus Implementations

Oracle Service Bus (OSB)

Consumer

Provider

Proxy Service

Business Service

MessageMagic

Page 16: Kscope   Solid Service Bus Implementations

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

Page 17: Kscope   Solid Service Bus Implementations

OSB – Transformation – MFL example

LBA Specific

Statement

XML

MFL

XSL

XSD

Bank

Account

.XSD

txt

<XML>

Financial

Transaction

<XML>

Normalised

Statement

<XML>

Page 18: Kscope   Solid Service Bus Implementations

OSB – Enterprise Capabilities – Parallel flow

.jspx

OSB

Proxy service

Bus. service

BAMService

Uploadfile

Uploadfile

Uploadfile

Fin. Transaction

Norm.Stmt

IterateStmt line

Page 19: Kscope   Solid Service Bus Implementations

Features from OESB / Mediator

Adapters Domain Value Maps

Page 20: Kscope   Solid Service Bus Implementations

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

Page 21: Kscope   Solid Service Bus Implementations

OSB – Mediator combination

Oracle Service Bus

Consumers

SCASCA SomeApplication

J2EE

Mediator Mediator

Page 22: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 23: Kscope   Solid Service Bus Implementations

BPEL

Stateful Orchestrate

(processes)

Page 24: Kscope   Solid Service Bus Implementations

ODI – Oracle Data Integrator

Bulk ‘n Batch

Page 25: Kscope   Solid Service Bus Implementations

Use ODI for…

Data integration High-volume ELT – Extract Load Transform

Alongside a Service Bus

Page 26: Kscope   Solid Service Bus Implementations

Agenda

Service Bus Overview Integration Infrastructure Mediator OSB Other integration tools – BPEL, ODI AIA as an example Wrap up

Page 27: Kscope   Solid Service Bus Implementations

Oracle AIA as an Example

Oracle’s approach to Application Integration● Based on a Canonical Model

Page 28: Kscope   Solid Service Bus Implementations

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

Page 29: Kscope   Solid Service Bus Implementations

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

Page 30: Kscope   Solid Service Bus Implementations

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

Page 31: Kscope   Solid Service Bus Implementations

Usage Adapters, ESB, BPEL in AIA

Page 32: Kscope   Solid Service Bus Implementations

Wrap up & …

Infrastructure components● ODI● BPEL● Mediator● OSB

Apply Service patterns● Strong technology solutions● Business value

Pick the right tool for your needs

Page 33: Kscope   Solid Service Bus Implementations

Solid Service Bus ImplementationsPlease Fill Out Your Evaluations

Peter Paul van de Beek

@deltalounge

www.deltalounge.net/wpress/

Whitehorses

blogs.whitehorses.nl

Page 34: Kscope   Solid Service Bus Implementations