39
August 2014 Patterns for Enterprise Integration Success Software Architect Kasun Indrasiri

Patterns for Enterprise Integration Success

  • Upload
    wso2

  • View
    990

  • Download
    5

Embed Size (px)

DESCRIPTION

-

Citation preview

Page 1: Patterns for Enterprise Integration Success

August 2014

Patterns for Enterprise Integration Success

Software Architect Kasun Indrasiri

Page 2: Patterns for Enterprise Integration Success

2  

About  WSO2  ๏  Global  enterprise,  founded  in  2005  by  

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

๏  Provides  only  open  source  plaDorm-­‐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  AcLve  Member  of  OASIS,  Cloud  Security  Alliance,  OSGi  Alliance,  AMQP  Working  Group,  OpenID  FoundaLon  and  W3C.  

๏  Driven  by  InnovaLon  

๏  Launched  first  open  source  API  Management  soluLon  in  2012  

๏  Launched  App  Factory  in  2Q  2013  

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

Page 3: Patterns for Enterprise Integration Success

3  

What  WSO2  delivers  

Page 4: Patterns for Enterprise Integration Success

About the Presenters  ๏  Kasun Indrasiri

๏  SoUware  Architect,  WSO2  ESB  

4

Page 5: Patterns for Enterprise Integration Success

Agenda  ๏  Commonly used integration patterns with WSO2

Middleware Platform

๏  Inspired from real world scenarios

๏  Integration Ecosystems - Go beyond building a set of integration silos

5

Page 6: Patterns for Enterprise Integration Success

Glimpse of Modern Enterprises  ๏  Disparate Systems, Services, Protocols

๏  Diverse and dynamic business requirements

๏  No single vendor/solution

๏  On premise/Cloud solutions

6

Page 7: Patterns for Enterprise Integration Success

Point to Point/Spaghetti Integration  ๏  Scalability, maintainability, troubleshooting

nightmares.

7

Page 8: Patterns for Enterprise Integration Success

ESB as the Integration Bus  ๏  Conquering integration nightmares with WSO2

ESB

8

Page 9: Patterns for Enterprise Integration Success

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

๏  Zero Code/Configuration driven

๏  Extensible and Scalable 9

Page 10: Patterns for Enterprise Integration Success

๏  Conventional Integration Patterns

๏  API Façade Pattern

๏  Hybrid Integration Patterns

๏  Store and Forward

๏  High-availability and Failover

๏  Security Patterns

๏  Patterns Related to Monitoring and Complex Event Processing

10

Integrate anything with everything..

Page 11: Patterns for Enterprise Integration Success

๏  Enterprise Integration Patterns

§  De facto standard for enterprise integration

๏  WSO2 ESB offers 100% coverage of EIPs

11

Conventional Integration Patterns

Page 12: Patterns for Enterprise Integration Success

๏  Stateless Service Orchestration – ESB

§  Service Channing – call mediator or receive sequence

§  Clone/Aggregate – clone, aggregate mediators

§  Split/Aggregate - iterate, aggregate mediators

12

Service Orchestration

Page 13: Patterns for Enterprise Integration Success

๏  A stateless service chaining scenario realized with the application of multiple EIPs

13

Service Orchestration

Page 14: Patterns for Enterprise Integration Success

๏  Stateful Service Orchestration – BPS

§  Stateful orchestration of number of services

§  Long running processes

§  Compensation handling/Rollback

§  Human Tasks

14

Service Orchestration

Page 15: Patterns for Enterprise Integration Success

๏  Service Orchestration – BPS + ESB

§  ESB handles the connectivity between disparate systems and services

§  BPS handles the orchestration

15

Service Orchestration

Page 16: Patterns for Enterprise Integration Success

๏  Service Orchestration – ESB or BPS ?

§  How to select the perfect fit?

•  Stateful vs stateless

•  Complexity of the orchestration

•  Long running processes

•  Learning curve of BPEL

16

Service Orchestration

Page 17: Patterns for Enterprise Integration Success

๏  WSO2 ESB – Comprehensive REST support

§  HTTP Endpoint – Nouns and Verbs

§  Payload Factory/Script Mediator – Data Formats

17

RESTful Integration

Image courtesy : http://www.ansoncheunghk.info/sites/default/files/venue/images/rest_triangle.png

Page 18: Patterns for Enterprise Integration Success

๏  JSON is increasingly getting popular

๏  Native JSON support with WSO2 ESB 4.8

§  No canonicalization (i.e: No conversion back and forth JSON->SOAP->JSON)

§  JSON Path for JSON Content Based Routing

§  Support all kinds of transformations (JSON->JSON, JSON<->XML)

18

Comprehensive JSON Support

Page 19: Patterns for Enterprise Integration Success

๏  HTTP Endpoint and JSON Payload Factory

19

RESTful Integration in action

Page 20: Patterns for Enterprise Integration Success

๏  Integrating SAP and non-SAP systems

๏  IDOC and BAPI based integration

20

SAP Integration

Page 21: Patterns for Enterprise Integration Success

๏  Make messages persistent so that they are not lost even if the messaging system crash

§  Message stores and processors

21

Guaranteed Delivery with WSO2 MB

Page 22: Patterns for Enterprise Integration Success

๏  API Façade with WSO2 ESB and WSO2 API Manager

22

API Façade Pattern

Page 23: Patterns for Enterprise Integration Success

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

23

Connectors

Page 24: Patterns for Enterprise Integration Success

๏  Salesforce + Google Spread Sheet - Opportunity Management

24

Cloud to Cloud Integration

Page 25: Patterns for Enterprise Integration Success

๏  SAP-Salesforce Integration

25

Cloud to On-premise Integration

Page 26: Patterns for Enterprise Integration Success

๏  https://storepreview.wso2.com/

26

WSO2 Connector Store

Page 27: Patterns for Enterprise Integration Success

๏  Blazing performance – Fastest open source ESB

27

Integration with the fastest ESB

ESB  Performance  Round  7.5  –  February  2014  

Page 28: Patterns for Enterprise Integration Success

๏  With ELB

28

High Availability with worker/manager separation

Page 29: Patterns for Enterprise Integration Success

๏  Without ELB/With external load balancers

29

High Availability with worker/manager separation

Page 30: Patterns for Enterprise Integration Success

๏  Cluster of worker nodes

30

High Availability without worker/manager

Page 31: Patterns for Enterprise Integration Success

๏  OAuth and Entitlement

31

Security Patterns

Page 32: Patterns for Enterprise Integration Success

32

Business Activity Monitoring

Page 33: Patterns for Enterprise Integration Success

33

Real time monitoring/CEP

Page 34: Patterns for Enterprise Integration Success

๏  Cloud/On-premise integration with API Management

34

Use Cases

Page 35: Patterns for Enterprise Integration Success

๏  Integration for Connected Business

๏  Integrate anything with everything

๏  Real world Use cases

35

Conclusion

Page 36: Patterns for Enterprise Integration Success

36

QnA

Page 37: Patterns for Enterprise Integration Success

37  

Business  Model  

Page 38: Patterns for Enterprise Integration Success

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/2014/02/esb-performance-round-7.5/

๏  RESTful Integration - http://wso2.com/library/articles/2013/12/restful-integration-with-wso2-esb/

๏  Guaranteed Delivery with WSO2 ESB - http://wso2.com/library/articles/2014/01/guaranteed-delivery-with-Message-Store-Message-Processor%20/

Page 39: Patterns for Enterprise Integration Success

Contact  us  !