34
Real World Integration Challenges and Enterprise Service Bus (ESB) Khasimsaheb Presented in Open Source Series Workshop 2010

Mule Esb

Embed Size (px)

Citation preview

Page 1: Mule Esb

Real World Integration Challengesand Enterprise Service Bus (ESB)

Khasimsaheb

Presented in Open Source Series Workshop 2010

Page 2: Mule Esb

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

Page 3: Mule Esb

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

Page 4: Mule Esb

Integration Patterns

Peer-to-Peer

Presented in Open Source Series Workshop 2010

Page 5: Mule Esb

Integration Patterns

Client-Server / Hub ‘n Spoke

Presented in Open Source Series Workshop 2010

Page 6: Mule Esb

Integration Patterns

Pipeline

Presented in Open Source Series Workshop 2010

Page 7: Mule Esb

Integration Patterns

Enterprise Application Network

Presented in Open Source Series Workshop 2010

Page 8: Mule Esb

Service Oriented Architecture (SOA)

resource, also known as service, is the primary structuring element and building block in SOA.

Presented in Open Source Series Workshop 2010

SOA is an enterprise-scale architecturefor linking resources on demand. A

Page 9: Mule Esb

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

Page 10: Mule Esb

Service Oriented Architecture (SOA)

Check Balance

Presented in Open Source Series Workshop 2010

Page 11: Mule Esb

Service Oriented Architecture (SOA)

Withdraw Cash

Cash Withdrawal Service

Update Balance

Check Balance

Presented in Open Source Series Workshop 2010

Page 12: Mule Esb

Service Oriented Architecture (SOA)

Withdraw Cash

Cash Withdrawal Service

Update Balance

Check Balance

Presented in Open Source Series Workshop 2010

Page 13: Mule Esb

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

Page 14: Mule Esb

Enterprise Service Bus (ESB)

Enterprise Service Bus

Presented in Open Source Series Workshop 2010

Page 15: Mule Esb

Enterprise Service Bus (ESB)Key features:

Intelligent Routing

Reliable Messaging

Data Transformation

Presented in Open Source Series Workshop 2010

Page 16: Mule Esb

Mule ESB

Mule ESB is a lightweight Java-basedESBand integrationdevelopers to

platform thatallowsconnectapplications

together quickly and easily, enabling them to exchange data.

Presented in Open Source Series Workshop 2010

Page 17: Mule Esb

Mule ESB

MuleESBexisting

enables easy integrationof

systems, regardless of thedifferent technologies that the applications use, including JMS, Web Services, JDBC, HTTP, and more.

Presented in Open Source Series Workshop 2010

Page 18: Mule Esb

Why Mule?

Presented in Open Source Series Workshop 2010

Page 19: Mule Esb

Mule ESBReasons to use Mule ESB:

Open Source

Platform Independent

Service Hosting/Creation

Service Mediation

Multi-protocol support

Presented in Open Source Series Workshop 2010

Page 20: Mule Esb

Mule ESBReasons to use Mule ESB:

Transparent

Vendor-neutral

API independent

Supports POJO (Plain Old Java Object)

Multiple Topologies

Presented in Open Source Series Workshop 2010

Page 21: Mule Esb

Mule ESB

Presented in Open Source Series Workshop 2010

Page 22: Mule Esb

Mule ESB

Routers

Filters

Transformers

Endpoints

Presented in Open Source Series Workshop 2010

Page 23: Mule Esb

Mule ConfigurationXML FileModel

Service Inbound

Outbound

Component

Transformer

Transformer

Presented in Open Source Series Workshop 2010

Page 24: Mule Esb

Mule ExampleA Basic Example:

Inbound: Standard Input Console

Outbound: Standard Output Console

Component: POJO

Connector

Presented in Open Source Series Workshop 2010

Page 25: Mule Esb

Mule Example

Presented in Open Source Series Workshop 2010

Page 26: Mule Esb

Mule Example

Loan Broker

Presented in Open Source Series Workshop 2010

Page 27: Mule Esb

Mule Example

Loan BrokerStandardI/O Console

POJO

Web Services SOAP/Http

Presented in Open Source Series Workshop 2010

Page 28: Mule Esb

Mule ESB

String Long Double Int

Name; CNIC;Amount; Duration_In_Months;

Customer Inputs:

Somename,123456,15000,5

Presented in Open Source Series Workshop 2010

Page 29: Mule Esb

Mule ESBLoan Broker Input:

LoanQuoteRequestName : String CNIC : Long Amount : Double Duration : IntegerAgencyResponse : String

Loan Broker Output:Bank-1 has the lowest quote of 4.4%

Presented in Open Source Series Workshop 2010

Page 30: Mule Esb

Mule ESBBank’s Input

CNIC : Amount : Duration : AgencyResponse

123456789:15000:2:“Eligible”

Bank’s Output

0.442354

Presented in Open Source Series Workshop 2010

Page 31: Mule Esb

Mule Example

Loan BrokerStandard I/O Console

Web Services SOAP/Http

POJO

FTP

Presented in Open Source Series Workshop 2010

Page 32: Mule Esb

Referenceshttp://www.eaipatterns.com/eaipatterns.htmlhttp://www.mulesoft.com/mule-esb-open-source-esbhttp://www.mulesoft.org/documentation/display/MULE2INTRO/Homehttp://www.mulesoft.org/esb-integration-resourceshttp://hillside.net/plop/plop2002/final/Enterprise%20Integration%20Pattern s%20-%20PLoP%20Final%20Draft%203.pdfhttp://oss.org.cn/ossdocs/soa/mule/1.3/LoanBroker%20ESB_attachments/ja vazone-2005-mule-real-world-old.pptftp://service.boulder.ibm.com/s390/audio/pdfs/G224-7298- 00_FinalMigratetoSOA.pdfhttp://sei.pku.edu.cn/~huanggang/ibmcourse/2006/SOA.pdfhttp://domino.research.ibm.com/library/cyberdig.nsf/papers/C4123D8EF6D3234E852573A3005C7161/$File/rc24437.pdfhttp://www.nitrd.gov/subcommittee/sdp/vanderbilt/position_papers/steven_ray_the_future_of_software.pdf

Presented in Open Source Series Workshop 2010

Page 33: Mule Esb

Presented in Open Source Series Workshop 2010

Page 34: Mule Esb

Presented in Open Source Series Workshop 2010