2. 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
5. 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
6. Glimpse of Modern Enterprises
๏ Disparate Systems, Services, Protocols
๏ Diverse and dynamic business requirements
๏ No single vendor/solution
๏ On premise/Cloud solutions
6
7. Point to Point/Spaghetti Integration
๏ Scalability, maintainability, troubleshooting
nightmares.
7
8. ESB as the Integration Bus
๏ Conquering integration nightmares with WSO2
ESB
8
9. 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
10. ๏ 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..
11. ๏ Enterprise Integration Patterns
§ De facto standard for enterprise integration
๏ WSO2 ESB offers 100% coverage of EIPs
11
Conventional Integration Patterns
12. ๏ Stateless Service Orchestration – ESB
§ Service Channing – call mediator or receive sequence
§ Clone/Aggregate – clone, aggregate mediators
§ Split/Aggregate - iterate, aggregate mediators
12
Service Orchestration
13. ๏ A stateless service chaining scenario realized with
the application of multiple EIPs
13
Service Orchestration
14. ๏ Stateful Service Orchestration – BPS
§ Stateful orchestration of number of services
§ Long running processes
§ Compensation handling/Rollback
§ Human Tasks
14
Service Orchestration
15. ๏ Service Orchestration – BPS + ESB
§ ESB handles the connectivity between disparate systems and
services
§ BPS handles the orchestration
15
Service Orchestration
16. ๏ 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
17. ๏ 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
18. ๏ 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
19. ๏ HTTP Endpoint and JSON Payload Factory
19
RESTful Integration in action
20. ๏ Integrating SAP and non-SAP systems
๏ IDOC and BAPI based integration
20
SAP Integration
21. ๏ 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
22. ๏ API Façade with WSO2 ESB and WSO2 API Manager
22
API Façade Pattern
23. ๏ A connector is a ready made and convenient tool to
reach publicly available web API s.
23
Connectors
24. ๏ Salesforce + Google Spread Sheet - Opportunity
Management
24
Cloud to Cloud Integration