58
Enterprise Integration Made easy with WSO2 Enterprise Service Bus Ruwan Linton Product Manager – WSO2 ESB

WSO2 ESB Webinar 01 Sept 2009

  • Upload
    wso2

  • View
    2.766

  • Download
    0

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

Page 1: WSO2 ESB Webinar 01 Sept 2009

Enterprise IntegrationMade easy with

WSO2 Enterprise Service Bus

Ruwan LintonProduct Manager – WSO2 ESB

Page 2: WSO2 ESB Webinar 01 Sept 2009

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 :-(

Page 3: WSO2 ESB Webinar 01 Sept 2009

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

Page 4: WSO2 ESB Webinar 01 Sept 2009

4

What is Enterprise Integration?

Page 5: WSO2 ESB Webinar 01 Sept 2009

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

Page 6: WSO2 ESB Webinar 01 Sept 2009

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

Page 7: WSO2 ESB Webinar 01 Sept 2009

7

So What isESB?

Hey Mattson, it is “Enterprise Service Bus”

Well, I heard about ESB Before

But not so clear about it

Page 8: WSO2 ESB Webinar 01 Sept 2009

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 :-)

Page 9: WSO2 ESB Webinar 01 Sept 2009

9

When do you need an ESB?

Page 10: WSO2 ESB Webinar 01 Sept 2009

10

Page 11: WSO2 ESB Webinar 01 Sept 2009

11

Page 12: WSO2 ESB Webinar 01 Sept 2009

12

Page 13: WSO2 ESB Webinar 01 Sept 2009

13

Page 14: WSO2 ESB Webinar 01 Sept 2009

14

Page 15: WSO2 ESB Webinar 01 Sept 2009

15

Busbar

Page 16: WSO2 ESB Webinar 01 Sept 2009

16

Page 17: WSO2 ESB Webinar 01 Sept 2009

17

Why WSO2 ESB (2.1.0)?

What is so special aboutWSO2 ESB?

Page 18: WSO2 ESB Webinar 01 Sept 2009

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

Page 19: WSO2 ESB Webinar 01 Sept 2009

19

wait..What is Apache Synapse?How is it related to WSO2 ESB? and Carbon??

Page 20: WSO2 ESB Webinar 01 Sept 2009

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

Page 21: WSO2 ESB Webinar 01 Sept 2009

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

Page 22: WSO2 ESB Webinar 01 Sept 2009

22

Tell me some of the main features of WSO2 ESB

Page 23: WSO2 ESB Webinar 01 Sept 2009

23

WSO2 ESB Features

Message Routing Message Transformation & Mapping Scheduled Tasks Orchestration Protocol Switching Transaction Support Rule Based Mediation Eventing

Page 24: WSO2 ESB Webinar 01 Sept 2009

24

Message Routing

Act as a simple Proxy

Page 25: WSO2 ESB Webinar 01 Sept 2009

25

Message Transformation & Mapping

XSLT

Page 26: WSO2 ESB Webinar 01 Sept 2009

26

Message Transformation & Mapping

XQuery

Page 27: WSO2 ESB Webinar 01 Sept 2009

27

Message Transformation & Mapping

E4X

Page 28: WSO2 ESB Webinar 01 Sept 2009

28

Message Transformation & Mapping

Support for different file formats– EDI

– flat files

– CSV

– COBOL/Record

Page 29: WSO2 ESB Webinar 01 Sept 2009

29

Tasks

Allow the ESB to initiate work on a timed basis Cron/simple interval Write your own tasks

Page 30: WSO2 ESB Webinar 01 Sept 2009

30

Orchestration

Split

Page 31: WSO2 ESB Webinar 01 Sept 2009

31

Orchestration

Aggregate

Page 32: WSO2 ESB Webinar 01 Sept 2009

32

Orchestration

Callout

Page 33: WSO2 ESB Webinar 01 Sept 2009

33

Orchestration

If/Then/Else

Page 34: WSO2 ESB Webinar 01 Sept 2009

34

Orchestration

BPEL Feature plug-in– Adds BPS capabilities into ESB

Page 35: WSO2 ESB Webinar 01 Sept 2009

35

Protocol Switching

Page 36: WSO2 ESB Webinar 01 Sept 2009

36

FIX to HTTP transport

http://wso2.org/library/3837

Page 37: WSO2 ESB Webinar 01 Sept 2009

37

Protocols

File, (S)FTP, HTTP(S), REST, Hessian, JSON SOAP JMS

– MQSeries, AMQP/ Apache Qpid,Apache ActiveMQ

– Transactional support Email, XMPP, FIX, TCP

Page 38: WSO2 ESB Webinar 01 Sept 2009

38

Rule based Mediation Drools

Page 39: WSO2 ESB Webinar 01 Sept 2009

39

Eventing

Page 40: WSO2 ESB Webinar 01 Sept 2009

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....

Page 41: WSO2 ESB Webinar 01 Sept 2009

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..

Page 42: WSO2 ESB Webinar 01 Sept 2009

42

Extendibility

Class implementing the Mediator interface

Using Command pattern with a POJO

Scripting inside ESB

Spring initialization

Page 43: WSO2 ESB Webinar 01 Sept 2009

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

Page 44: WSO2 ESB Webinar 01 Sept 2009

44

Performance http://wso2.org/library/3740

Page 45: WSO2 ESB Webinar 01 Sept 2009

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

Page 46: WSO2 ESB Webinar 01 Sept 2009

46

Who can use WSO2 ESB?

Page 47: WSO2 ESB Webinar 01 Sept 2009

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...

Page 48: WSO2 ESB Webinar 01 Sept 2009

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

Page 49: WSO2 ESB Webinar 01 Sept 2009

49

That's lot of information...Now I would like to try these out myself. How do I get started?

Page 50: WSO2 ESB Webinar 01 Sept 2009

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

Page 51: WSO2 ESB Webinar 01 Sept 2009

51

Help.. I messed it up...

Page 52: WSO2 ESB Webinar 01 Sept 2009

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

Page 53: WSO2 ESB Webinar 01 Sept 2009

53

Where should I look for more?

Page 54: WSO2 ESB Webinar 01 Sept 2009

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

Page 55: WSO2 ESB Webinar 01 Sept 2009

55

interesting...

Here is what Mattson understood

Page 56: WSO2 ESB Webinar 01 Sept 2009

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

Page 57: WSO2 ESB Webinar 01 Sept 2009

57

WSO2 Product Platform

Page 58: WSO2 ESB Webinar 01 Sept 2009

58

Thank [email protected]

(Product Manager - WSO2 ESB)