24
Jan 2014 Connectors for the New Enterprise with WSO2 ESB 4.8 Senior Technical Lead Malaka Silva Software Architect Kasun Indrasiri

Connectors for the New Enterprise with WSO2 ESB 4.8

  • Upload
    wso2

  • View
    934

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Connectors for the New Enterprise with WSO2 ESB 4.8

Jan 2014

Connectors for the New Enterprise with WSO2 ESB 4.8

Senior Technical LeadMalaka Silva

Software ArchitectKasun Indrasiri

Page 2: Connectors for the New Enterprise with WSO2 ESB 4.8

About the Presenters

๏ Kasun Indrasiri ๏ Software Architect, WSO2 ESB

๏ Malaka Silva ๏ Senior Technical Lead, WSO2 ESB

�2

Page 3: Connectors for the New Enterprise with WSO2 ESB 4.8

3

About WSO2๏ Global enterprise, founded in

2005 by acknowledged leaders in XML, web services technologies, standards and open source

๏ Provides only open source platform-as-a-service for private, public and hybrid cloud deployments

๏ All WSO2 products are 100% open source and released under the Apache License Version 2.0.

๏ Is an Active Member of OASIS, Cloud Security Alliance, OSGi Alliance, AMQP Working Group, OpenID Foundation and W3C.

๏ Driven by Innovation

๏ Launched first open source API Management solution in 2012

๏ Launched App Factory in 2Q 2013

๏ Launched Enterprise Store and first open source Mobile solution in 4Q 2013

Page 4: Connectors for the New Enterprise with WSO2 ESB 4.8

4

What we Deliver

Page 5: Connectors for the New Enterprise with WSO2 ESB 4.8

Agenda

๏ Glimpse of Modern Enterprises

๏ WSO2 ESB in a nutshell

๏ Introduction to Connectors

๏ Connector Architecture

๏ Using Connectors

๏ Writing you own connector

๏ Use cases/Demo

�5

Page 6: Connectors for the New Enterprise with WSO2 ESB 4.8

Glimpse of Modern Enterprises

๏ Disparate Systems, Services, Protocols

๏ Diverse and dynamic business requirements

๏ No single vendor/solution

๏ On premise/Cloud solutions

�6

Page 7: Connectors for the New Enterprise with WSO2 ESB 4.8

Point to Point/Spaghetti Integration

๏ Scalability, maintainability, troubleshooting nightmares.

�7

Page 8: Connectors for the New Enterprise with WSO2 ESB 4.8

ESB as the Integration Bus

๏ Conquering integration nightmares with WSO2 ESB

�8

Page 9: Connectors for the New Enterprise with WSO2 ESB 4.8

Introducing WSO2 ESB

๏ A light weight, high performance ESB

๏ Comprehensive REST, SOAP, WS-* support

๏ 100% compliant with all EIPs (Enterprise Integration Patterns)

๏ Connectors (Salesforce, Twilio and many more)

๏ SAP, FIX, HL7 - Domain specific solutions

๏ Extensible and Scalable

๏ Configuration driven

�9

Page 10: Connectors for the New Enterprise with WSO2 ESB 4.8

Connectors

๏ A connector is a ready made and convenient tool to reach publicly available web API’s.

๏ ‘Cloud to Cloud’ and ‘Cloud to Enterprise’ Integration

๏ WSO2 ESB 4.8 introduces : ๏ Salesforce, Jira, Google Spread Sheet, Twilio and Twitter

�10

Page 11: Connectors for the New Enterprise with WSO2 ESB 4.8

Connectors - Architecture

๏ Every connector is self-contained and independent from ESB code

๏ Dynamically plug in to ESB/multi-tenanted

๏ Dynamic Tooling support with WSO2 Developer Studio

๏ Connector invocation - Dynamic configuration language (no hardcoded connector specific ESB config)

๏ You can write, ‘your own connector’ and just plug it in

๏ Many more connectors coming soon!

�11

Page 12: Connectors for the New Enterprise with WSO2 ESB 4.8

Connector Tooling

๏ Dynamic tooling support with WSO2 Developer Studio

�12

Page 13: Connectors for the New Enterprise with WSO2 ESB 4.8

Securing Credentials - Secure Vault Tool

๏ wso2:vault-lookup function

๏ No hardcoded secrets or passwords in ESB configurations

�13

Page 14: Connectors for the New Enterprise with WSO2 ESB 4.8

๏ Searching for tweets.

๏ Basic flow : ๏ Deploy and enable connector in WSO2 ESB

๏ Import connector in to Developer Studio

๏ Create integration flow : twitter.init and twitter.search

�14

Using Connectors - sample

Page 15: Connectors for the New Enterprise with WSO2 ESB 4.8

Writing your own ‘Connector’

๏ Research on the API provided by the third party.

๏ Decide the API to be used ๏ REST/SOAP

๏ Java SDK/Javascript based

๏ Create a new Connector maven project

�15

mvn archetype:generate -DarchetypeCatalog=local -DarchetypeGroupId=org.wso2.carbon -DarchetypeArtifactId= org.wso2.carbon.mediation.library.connectors.connector-archetype

Page 16: Connectors for the New Enterprise with WSO2 ESB 4.8

๏ Get contacts from Salesforce

�16

Using Connectors - Use Case I

Page 17: Connectors for the New Enterprise with WSO2 ESB 4.8

๏ Salesforce + Google Spread Sheet - Opportunity Management

�17

Using Connectors - Use Case II

Page 18: Connectors for the New Enterprise with WSO2 ESB 4.8

๏ Why Connectors?

๏ Introduction to WSO2 ESB Connectors

๏ Connector Architecture

๏ Writing your own connector

๏ Use Cases

�18

Conclusion

Page 19: Connectors for the New Enterprise with WSO2 ESB 4.8

�19

QnA

Page 20: Connectors for the New Enterprise with WSO2 ESB 4.8

5

Business Model

Page 21: Connectors for the New Enterprise with WSO2 ESB 4.8

4

Page 22: Connectors for the New Enterprise with WSO2 ESB 4.8

4

Page 23: Connectors for the New Enterprise with WSO2 ESB 4.8

6

Links

๏ WSO2 ESB - http://wso2.com/products/enterprise-service-bus/

๏ WSO2 ESB Connectors - http://docs.wso2.org/display/ESB480/ESB+Connectors

๏ WSO2 ESB performance comparison - http://wso2.com/library/articles/2013/01/esb-performance-65/

๏ Connector archetype location - https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/mediation/mediation-library/connector-template-utils/org.wso2.carbon.mediation.library.connectors.connector-archetype/