Upload
wso2
View
2.766
Download
0
Tags:
Embed Size (px)
DESCRIPTION
On September 1, 2009, Ruwan Linton, Project Manager and Lead Developer of the WSO2 ESB presented how you can deploy enterprise integration faster and easier with the WSO2 ESB.
Citation preview
Enterprise IntegrationMade easy with
WSO2 Enterprise Service Bus
Ruwan LintonProduct Manager – WSO2 ESB
2
Introducing Mattson ...Hi.. Mattson here.. I am an Enterprise architect
Heard about a webinarfrom WSO2
On making it easy to do Enterprise Integration
Have a few Questionsthough :-(
3
• What is Enterprise Integration?– A two minute definition
• When do you need it?– Importance of an ESB in a nutshell
• Why WSO2 ESB (2.1.0)?– Features & Functionalities in detail
• Who can use WSO2 ESB?– Simplicity and the usability
• Where should I look for more?– Resources & References
Story of an Enterprise Architect
4
What is Enterprise Integration?
5
Enterprise Integration
the alignment of strategies, business processes, information systems, technologies, and data across
organizational boundaries to provide competitive advantage
Definition:- http://www.eiisolutions.net/resource-center/glossary
6
How do you achieve EI?
It is possible to achieve by a good SOA design,but it is impractical,
because we need to inter-operate with legacy systems which cannot be redesigned
Can be achieved by using an ESB
7
So What isESB?
Hey Mattson, it is “Enterprise Service Bus”
Well, I heard about ESB Before
But not so clear about it
8
Let's define it...
Any to any data connectivity and transformation (including Web Services)
built on an advanced, proven, reliable middleware infrastructure
Note:- Just for the sake of a definition :-)
9
When do you need an ESB?
10
11
12
13
14
15
Busbar
16
17
Why WSO2 ESB (2.1.0)?
What is so special aboutWSO2 ESB?
18
WSO2 Enterprise Service Bus
A fast, Light weight, easy-to-use Enterprise Service Bus product
Open source product with commercial support (if required)
Released with business friendly Apache License 2.0
Based on Apache Synapse & WSO2 Carbon Customizable to match the needs of your
Enterprise
19
wait..What is Apache Synapse?How is it related to WSO2 ESB? and Carbon??
20
Apache Synapse & WSO2 ESB
Leading project developed by Apache community
Most of the key committers with in WSO2 WSO2 ESB is built on top of Apache Synapse Synapse provides the core mediation
capabilities WSO2 ESB uses Synapse's configuration
language
21
WSO2 Carbon
• The Middleware framework on top of which the SOA stack is developed on
• Based on OSGi standards to achieve modularity
• Internationalized UI framework
• Shareable functional components
22
Tell me some of the main features of WSO2 ESB
23
WSO2 ESB Features
Message Routing Message Transformation & Mapping Scheduled Tasks Orchestration Protocol Switching Transaction Support Rule Based Mediation Eventing
24
Message Routing
Act as a simple Proxy
25
Message Transformation & Mapping
XSLT
26
Message Transformation & Mapping
XQuery
27
Message Transformation & Mapping
E4X
28
Message Transformation & Mapping
Support for different file formats– EDI
– flat files
– CSV
– COBOL/Record
29
Tasks
Allow the ESB to initiate work on a timed basis Cron/simple interval Write your own tasks
30
Orchestration
Split
31
Orchestration
Aggregate
32
Orchestration
Callout
33
Orchestration
If/Then/Else
34
Orchestration
BPEL Feature plug-in– Adds BPS capabilities into ESB
35
Protocol Switching
36
FIX to HTTP transport
http://wso2.org/library/3837
37
Protocols
File, (S)FTP, HTTP(S), REST, Hessian, JSON SOAP JMS
– MQSeries, AMQP/ Apache Qpid,Apache ActiveMQ
– Transactional support Email, XMPP, FIX, TCP
38
Rule based Mediation Drools
39
Eventing
40
Many more features ... Load balancing Fail-over handling Caching / Throttling Registry based Clustering WS-Reliable Messaging FIX CEP (Complex Event Processing) and many more....
41
What if I want more? Can I extend WSO2 ESB?What if I want more? Can I extend WSO2 ESB?
Yes.. you can..Just write a mediator..
42
Extendibility
Class implementing the Mediator interface
Using Command pattern with a POJO
Scripting inside ESB
Spring initialization
43
Performance Completely asynchronous architecture internally Streaming support for messages 100% error free and zero memory leaks under heavy
load Up to 4500tps out-of-the-box for proxying
– Intel(R) Xeon(TM) 3.20GHz 2MB Cache
– Dual Core - 2 CPU system
– 2GB RAM
– 1Gb Ethernet http://wso2.org/library/3740
44
Performance http://wso2.org/library/3740
45
Non-Blocking IO
Thread2
Incoming req
Sock
et o
pen
Thread1 Socke
t op
en
Requestprocessing
Responseprocessing
Outgoing resp
Outgoing req
Incoming resp
Synapse
TIME
TIME
TIME
TIME
This model means:1. Synapse threads never blocked during normal processing2. Number of sockets open >> number of threads
46
Who can use WSO2 ESB?
47
Almost all, who knows what they want to do...
WSO2 ESB is; Simple to useEasy to learn and configure
So, any body who knowsWhat he want, can use it
Who knows the truth, lets find out our selves...
48
Sample Usage scenarios
Link legacy files to messaging based systems Transform CSV or EDI formats to XML Act as a high-performance XML Gateway Content-based routing and creating virtual
services Integrate FIX based trading systems with XML
and non-XML backends Log, trace and audit live systems
49
That's lot of information...Now I would like to try these out myself. How do I get started?
50
How to get started?
Download binary distribution from http://wso2.org/projects/esb/java
Latest is v2.1.0 Unzip
• Run bin/wso2server.sh (on Unix) or bin/wso2server.bat (on Windows)
• Management console– https://localhost:9443/carbon
– admin/admin
51
Help.. I messed it up...
52
How to get help?
Online forum Active community of external users Ample free documentation on wso2.org If needed, we provided commercial support on
– Getting started
– Deployment
– Custom development
– Production
53
Where should I look for more?
54
Here are the resources...
WSO2 Oxygen Tank for Web Service Developers
– http://wso2.org
WSO2 ESB project page
– http://wso2.org/projects/esb
WSO2 ESB 2.1.0 Documentation
– http://wso2.org/project/esb/java/2.1.0/docs
Performance testing
– http://wso2.org/library/3740
– http://wso2.org/library/2259
– http://wso2.org/library/1721
Apache Synapse
– http://synapse.apache.org
55
interesting...
Here is what Mattson understood
56
Summery
• What is Enterprise Integration?– Integrating the organizational Information Systems
• When do you need it?– Well, it is required for a carefully designed SOA
• Why WSO2 ESB (2.1.0)?– Mediation, Routing, Transformation, Protocols, Eventing....– It is feature rich yet very simple
• Who can use WSO2 ESB?– Should be any one who has the need to use an ESB
• Where should I look for more?– Got a good set of references, like http://wso2.org
57
WSO2 Product Platform