WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

30
The New ESB RESTy, Connected, Collaborative, and Optimized Kasun Indrasiri Software Architect

Transcript of WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Page 1: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

The New ESBRESTy, Connected, Collaborative, and Optimized

Kasun IndrasiriSoftware ArchitectWSO2

Page 2: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Agenda

• Connected Business – Integration Aspects

• WSO2 ESB in a nutshell • Retrospect - WSO2 ESB in 2013 • Cloud Connectors • RESTful Integration made easy• New Features and Enhancements • Enhanced Tooling Support • WSO2 Integration Platform • Roadmap

Page 3: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Building A ‘Connected Business’

• Building an internally integrated enterprise / externally integrated enterprises

Page 4: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Building A ‘Connected Business’

• ‘Integration’ plays a vital role.

Page 5: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Glimpse of Modern Enterprises

• Dynamic/Diverse Business Requirements

• No single vendor/No single solution • Legacy Systems – Cannot get rid of

them?• Cloud APIs

Page 6: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Point to Point/Spaghetti Integration

• Scalability, maintainability, troubleshooting?

Page 7: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

ESB as the Integration Bus

Page 8: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB in a Nutshell

• A light weight, high performance ESB

• Configuration driven • REST, SOAP, WS-* support • SAP, FIX, HL7 support • Extensible and Scalable

Page 9: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

EIP Support

• Fully Support all the standard EIPs [1]

Page 10: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Retrospect - WSO2 ESB in 2013

• WSO2 ESB 4.6● Revolutionized the ESB performance

WSO2 ESB 4.7 ● Comprehensive RESTful Integration support

• WSO2 ESB 4.8 – (GA mid-Nov 2013)● Introducing ‘Cloud Connectors’

Page 11: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB – Cloud Connectors

• The foundation of ‘Cloud to Cloud’ and ‘Cloud to Enterprise’ Integration

• Connecting disparate Cloud APIs, mobile and on-premise systems

Page 12: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB – Cloud Connectors

• ‘Cloud to Cloud’ Integration

Page 13: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB – Cloud Connectors

• ‘Cloud to Enterprise’ Integration

Page 14: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connector Architecture

• A cloud connector simplifies the invocation of any cloud api and hides all the low level invocation details.

• Self Contained and independent from ESB code

• Can be dynamically plug in to ESB • Can be implemented with

● ESB config language(as templates) ● an existing Java Library ● Java Script

Page 15: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connector Architecture

• Dynamic ESB Configuration

<salesforce.config> <username>[email protected]</username> <password>{wso2:vault-lookup('kasun.sf.pwd')}</password> <loginUrl>https://login.salesforce.com/services/Soap/u/27.0</loginUrl></salesforce.config>

<salesforce.query> <batchSize>200</batchSize> <queryString>select Account.Name,Opportunity.Name, Amount from

Opportunity</queryString></salesforce.query><log level="full"/>

Connector name Template name

Param list

Page 16: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connector Architecture

• Dynamic Tooling Support

Page 17: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connectors – Use Cases

• Salesforce + Twilio – Lead Generation

Page 18: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connectors – Use Cases

• Salesforce + Google Spread Sheet – Opportunity Management

Page 19: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connectors – Use Cases

• Salesforce + JIRA + Twilio – Support Account Management

Page 20: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Cloud Connectors – Use Cases

• Twitter + Salesforce – Lead Monitor

Page 21: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

RESTful Integration made easy

• Comprehensive RESTful Integration support

● Nouns and Verbs – HTTP Endpoint, Header Mediator

● Data Formats – Payload Factory (XML/JSON)

source: http://www.ansoncheunghk.info/article/web-apis-resource-oriented-architecture

Page 22: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Better JSON Support

• JSON Transformations● Payload Factory supports all possible combinations

of JSON and XML transformations

JSON CBR High Performance JSON parsing

Page 23: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Message Mediation Enhancements

• Call Mediator● Blocking service calls on top of non-blocking HTTP

transport ● Simplifies the Service Orchestration scenarios ● Used in Cloud Connectors ● Equivalent performance to the Send Mediator

Respond and LoopBack Mediators

Page 24: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Store and Forward

• Complete Revamp of Message Store and Processors

● Multiple Consumers (Processors) for a given store● Guaranteed Delivery for RESTful Integration● Supports security, sampling and error codes

Page 25: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB Graphical Editor

• WSO2 Developer Studio

Page 26: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 Integration Platform – Use Cases

Page 27: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 Integration Platform – Use Cases

Page 28: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

WSO2 ESB – Road Map

• Inbound Transport/Polling Transports • Data Mapping• HL7 • Performance • Versioning ESB artifacts (sequence,

proxy services etc.)

Page 29: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Links

• [1] EIP Guide - http://docs.wso2.org/display/IntegrationPatterns/Enterprise+Integration+Patterns+with+WSO2+ESB

• [2] ESB Performance Comparisons – WSO2 http://wso2.com/library/articles/2013/01/esb-performance-65/

Page 30: WSO2Con US 2013 - The New ESB - RESTy, Connected, Collaborative, and Optimized

Thank You