To ESB or not to ESB Ross Mason MuleSoft About Me Agenda When to - - PowerPoint PPT Presentation

to esb or not to esb
SMART_READER_LITE
LIVE PREVIEW

To ESB or not to ESB Ross Mason MuleSoft About Me Agenda When to - - PowerPoint PPT Presentation

To ESB or not to ESB Ross Mason MuleSoft About Me Agenda When to When to When to When to When not When not When not When not Some Some Some Some ESB ESB to ESB to ESB options options Vendor ESB Reality Check Know your


slide-1
SLIDE 1

To ESB or not to ESB

Ross Mason MuleSoft

slide-2
SLIDE 2

About Me

slide-3
SLIDE 3

Agenda

When to When to When not When not Some Some When to ESB When to ESB When not to ESB When not to ESB Some

  • ptions

Some

  • ptions
slide-4
SLIDE 4
slide-5
SLIDE 5

“Vendor” ESB

slide-6
SLIDE 6

Reality Check

slide-7
SLIDE 7

Know your Architecture

slide-8
SLIDE 8

Architecture Checklist

Identify systems and processes Create an integration profile Map data flows Set performance requirements Define security requirements Identify redundancy requirements Quantify QoS requirements

slide-9
SLIDE 9

Bling, innit

slide-10
SLIDE 10

To ESB

Numerous integration points Need to grow the architecture More that one protocol Mediation requirements Scalability, Management, Monitoring, Transformation and Security requirements Strategic Projects

slide-11
SLIDE 11

Not to ESB

“We need access to a message queue”

slide-12
SLIDE 12

Not to ESB: RDD

slide-13
SLIDE 13

Not to ESB: YAGNI

slide-14
SLIDE 14

I’ll buy your software cha-ching

Not to ESB: GOLF

slide-15
SLIDE 15

What are the options?

slide-16
SLIDE 16

Web Services

  • Pros:

– Language, platform, and transport agnostic – Mediation support – Built-in error handling (faults) – Extensibility – Extensibility

  • Cons:

– heavy-weight – verbose – Hard to develop, requires tools – Sprawling WS-* standards

slide-17
SLIDE 17

REST

  • Pros:

– Language and platform agnostic – Small learning curve, less reliance on tools – Concise & Clean

  • Cons:
  • Cons:

– Assumes a point-to-point communication – Lack of standards support for security, policy, reliable messaging, etc. – Tied to the HTTP transport model

slide-18
SLIDE 18
  • Pros

– Quick solution – Tailored to the specific problem

  • Cons

Custom code

– Need to maintain more code – Difficult to change over time – Need to build security, management, reliability – Slow to add new capabilities – No core business activity

18

slide-19
SLIDE 19

Integration Scenarios

slide-20
SLIDE 20

Simple Integration

Frontend (web app) Backend Service REST / Web Services

slide-21
SLIDE 21

Partner Data integration

Partner B2B Services Partner Web Services

slide-22
SLIDE 22

Public API

Services Public API Web Client Web Client REST

slide-23
SLIDE 23

Mixed Integration

Frontend (web app) Backend Service ESB Backend Application Backend Application REST JMS FTP

slide-24
SLIDE 24

ESB Integration

Inventory Fulfillment Inventory Bidding Order Service Supplier 1 Supplier 2 Supplier 3

  • rder from

Supplier 3 request bids

ESB Fulfillment Service Bidding Service Order Service Inventory Service Inventory Purchasing

create supply bid bid selected place order

  • ut of stock

request items

slide-25
SLIDE 25

iBeans

easy service integrations

slide-26
SLIDE 26

Foundation

  • Abstraction for the complexity of SOA
  • Open source framework
  • Lineage, pedigree of Mule ESB
  • 15+ iBeans ready for production
  • “Micro-light ESB”
slide-27
SLIDE 27

Communication

  • Reusable Java modules
  • Bean interface to networked services

– Not just SOAP, REST

  • Communications channels

– Ajax from JavaScript – RPC – Java

slide-28
SLIDE 28

Use cases

  • Situations where an ESB is too heavy
  • Social media app integrations
  • Easy cross-webapp reuse
  • Point-to-point integration
  • Seamless migration path to Mule ESB
slide-29
SLIDE 29

GPS Walker

demo

slide-30
SLIDE 30

http://10.0.17.238:8080/gpswalk er/cursor.html er/cursor.html

slide-31
SLIDE 31

Overview

slide-32
SLIDE 32

The pieces

Runtime Container: Tomcat, Tcat, (Mule)

iBeans Runtime Channels: HTTP, SMTP, IMAP, REST, JDBC, JMS, XMPP, FTP Transform and Bindings Scheduler Formats: JSON, RSS, ATOM, XML, SOAP Application Annotations Transform and Bindings Scheduler Web apps

apps web your console

iBean Objects

slide-33
SLIDE 33

Summary

  • Technology selection must be driven by

architecture

  • ESBs are good for integrations with multiple

participants participants

  • REST/WS are better suited to other integration

problems

  • iBeans offers a point-to-point to ESB migration

path

slide-34
SLIDE 34

Questions?

slide-35
SLIDE 35
  • Embedding Mule in a web application not

usually a good idea

ESB / Integration platform Web App Web App Web App Consumes services from