34
Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of Information Technology (PUCIT) University of the Punjab. [email protected] Mian Zeshan Farooqi Presented in Open Source Series Workshop 2010 22-24 December, 2010 © ICOSST 2010

Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Real World Integration Challenges and Enterprise Service Bus (ESB)

Punjab University College of Information Technology (PUCIT)

University of the Punjab.

[email protected]

Mian Zeshan Farooqi

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 2: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Software Integration

Software integration means to assemble the existing applications and

data sources to fulfill the growing requirements of an enterprise.

Also known as: Enterprise Application Integration (EAI)

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 3: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Benefits of Software Integration

Cost saving

Time saving

Rapid adaptation to new changes

Better customer and self service

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 4: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Integration Patterns

Peer-to-Peer

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 5: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Integration Patterns

Client-Server / Hub ‘n Spoke

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 6: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Integration Patterns

Pipeline

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 7: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Integration Patterns

Enterprise Application Network

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 8: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Service Oriented Architecture (SOA)

SOA is an enterprise-scale architecture for linking resources on demand. A resource, also known as service, is the primary structuring element and building block in SOA.

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 9: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Service Oriented Architecture (SOA)

Services are discrete sets of functionality that are loosely coupled but can be used together in order to fulfill a business need.

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 10: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Service Oriented Architecture (SOA)

Check Balance

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 11: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Service Oriented Architecture (SOA)

Cash Withdrawal Service

Withdraw Cash

Update Balance

Check Balance

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 12: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Service Oriented Architecture (SOA)

Cash Withdrawal Service

Withdraw Cash

Update Balance

Check Balance

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 13: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Enterprise Service Bus (ESB)

An Enterprise Service Bus (ESB) is a

middleware that connects different

applications and/or services together and

allows them to communicate with each

other.

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 14: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Enterprise Service Bus (ESB)

Enterprise Service Bus

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 15: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Enterprise Service Bus (ESB)

Intelligent Routing

Reliable Messaging

Data Transformation

Key features:

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 16: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Mule ESB is a lightweight Java-based ESB and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data.

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 17: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Mule ESB enables easy integration of existing systems, regardless of the different technologies that the applications use, including JMS, Web Services, JDBC, HTTP, and more.

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 18: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Why Mule?

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 19: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Open Source

Platform Independent

Service Hosting/Creation

Service Mediation

Multi-protocol support

Reasons to use Mule ESB:

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 20: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Transparent

Vendor-neutral

API independent

Supports POJO (Plain Old Java Object)

Multiple Topologies

Reasons to use Mule ESB:

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 21: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 22: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Routers

Filters

Transformers

Endpoints

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 23: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

XML File

Mule Configuration

Model

Service Inbound

Outbound

Component

Transformer

Transformer

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 24: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule Example

Inbound: Standard Input Console

Outbound: Standard Output Console

Component: POJO

Connector

A Basic Example:

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 25: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule Example

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 26: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule Example

Loan Broker

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 27: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule Example

Loan Broker Standard I/O Console

POJO

Web Services SOAP/Http

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 28: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

String Name;

Long CNIC;

Double Amount;

Int Duration_In_Months;

Customer Inputs:

Somename,123456,15000,5

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 29: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Loan Broker Input:

LoanQuoteRequest

Name : String

CNIC : Long

Amount : Double

Duration : Integer AgencyResponse : String

Loan Broker Output:

Bank-1 has the lowest quote of 4.4%

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 30: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule ESB

Bank’s Input

CNIC : Amount : Duration : AgencyResponse

123456789:15000:2:“Eligible”

Bank’s Output

0.442354

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 31: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Mule Example

Loan Broker Standard I/O Console

FTP

Web Services SOAP/Http

POJO

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 32: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

References http://www.eaipatterns.com/eaipatterns.html http://www.mulesoft.com/mule-esb-open-source-esb http://www.mulesoft.org/documentation/display/MULE2INTRO/Home http://www.mulesoft.org/esb-integration-resources http://hillside.net/plop/plop2002/final/Enterprise%20Integration%20Patterns%20-%20PLoP%20Final%20Draft%203.pdf http://oss.org.cn/ossdocs/soa/mule/1.3/LoanBroker%20ESB_attachments/javazone-2005-mule-real-world-old.ppt ftp://service.boulder.ibm.com/s390/audio/pdfs/G224-7298-00_FinalMigratetoSOA.pdf http://sei.pku.edu.cn/~huanggang/ibmcourse/2006/SOA.pdf http://domino.research.ibm.com/library/cyberdig.nsf/papers/C4123D8EF6D3234E852573A3005C7161/$File/rc24437.pdf http://www.nitrd.gov/subcommittee/sdp/vanderbilt/position_papers/steven_ray_the_future_of_software.pdf

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 33: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010

Page 34: Real World Integration Challenges and Enterprise Service Bus (ESB) · 2011-02-24 · Real World Integration Challenges and Enterprise Service Bus (ESB) Punjab University College of

Presented in Open Source Series Workshop 2010

22-24 December, 2010 © ICOSST 2010