You are on page 1of 15

WSO2 | January 2024

WSO2 - Middleware
and Integration
Solution
BY ABEL FANTAHUN
WSO2 | January 2024

What is WSO2
WSO2 is an open-source technology company that provides middleware and integration solutions for
enterprise-level applications. It offers a comprehensive suite of products and platforms designed to facilitate
the development, integration, and management of various software systems

About WSO2 WS02 Technology


Founded in 2005 by Dr. Sanjiva Weerawarana and Dr. Paul WSO2 Technology is designed around a common code base of fully
Fremantle, WSO2 is the world's #1 open source integration open-source integration technologies. Components can be used
vendor, helping digitally driven organizations become integration individually or as a cohesive integration-agile platform.WSO2
agile. with hundreds of the world’s largest corporations, leading Technology forms the cohesive architecture needed to help simplify
universities, and governments and unify complex integration initiatives
WSO2 | January 2024

Integration Capabilities
WSO2 provides extensive integration capabilities,
allowing you to seamlessly connect and integrate various
systems, applications, and services. It supports a wide
range of communication protocols, data formats, and
industry-standard integration patterns.

API Management

Why WSO2 WSO2 API Manager enables you to create, publish, and
manage APIs effectively. It provides features such as
API lifecycle management, security, rate limiting,
analytics, and developer portal, making it easier to
expose and consume APIs securely and efficiently.

Scalability and Performance


WSO2 is known for its scalability and performance. It
can handle high loads and is designed to support
distributed deployments, making it suitable for large-
scale enterprise applications.
WSO2 | January 2024

WSO2 Architecture
REST (Representational State Transfer)
WSO2 | January 2024 RESTful APIs use the HTTP protocol for communication
and are widely used for web services. REST APIs use
standard HTTP methods, status codes, and data formats
like JSON or XML.

API SOAP (Simple Object Access Protocol


SOAP APIs use XML for message format and can be
transported over various protocols, including HTTP, SMTP,
and more. SOAP APIs often use WSDL (Web Services
An API (Application Programming Interface) is a set of rules and Description Language) files to define the operations, data
protocols that allows different software applications to communicate structures, and communication details of the API. WSDL
and interact with each other. APIs define the methods and data provides a standardized way to describe SOAP services.
formats that applications can use to request and exchange information.
GraphQL
GraphQL is a query language and runtime for APIs
developed by Facebook. It provides a flexible and
efficient approach to data fetching and manipulation. With
GraphQL, clients can specify the exact data they need in
their queries, avoiding over-fetching or under-fetching of
data.

Streaming APIs
Streaming APIs, also known as Event-Driven APIs, enable
real-time communication and data streaming between
applications. They are designed for scenarios where
continuous data updates or event notifications are required.
can be implemented using various protocols, such as
WebSocket, Server-Sent Events (SSE). These protocols allow
for bi-directional communication and efficient data streaming.
WSO2 | January 2024

Developing Integration Solutions


WSO2 Integration Studio is the comprehensive developer tool, which you will use to develop, build, and test your
integration solutions before the solutions are pushed to your production environments

Integration developers will follow the workflow illustrated by the following diagram.
WSO2 | January 2024
Core Mediators
Call | Send | Loopback | Sequence | Respond |
Drop | Call Template | Enrich | Property | Property
Group | Log |

Filter Mediators
Filter | Validate | Switch |

Mediators Transform Mediators


WSO2 Micro Integrator includes a comprehensive library of mediators XSLT | FastXSLT | URLRewrite | XQuery | Header |
that provide functionality for implementing widely used Enterprise Fault | PayloadFactory | JSONTransform |
Integration Patterns (EIPs). You can also easily write a custom mediator
to provide additional functionality using various technologies such as
Java, scripting, and Spring.
Advanced Mediators
Cache | ForEach | Clone | Store | Iterate | Aggregate
| Callout | Transaction | Throttle | DBReport |
DBLookup | EJB | Rule | Binder | Entitlement | OAuth |
Smooks | Data Mapper |

Extension Mediators
Class | Script |
WSO2 | January 2024

Creating an Integration Project


An integration project consists of one or several project directories. These directories store the various artifacts
that you create for your integration sequence. An integration project can be created as a Maven Multi Module
(MMM) project by default. This enables you to add ESB Configs, Composite Exporter, Registry Resources,
Connector Exporter, Docker Exporter, and Kubernetes Exporter as sub-modules to the project.

Creating a REST API Creating a Proxy Service


Follow the instructions given below to create a new REST API Follow the instructions given below to create a new Proxy Service
artifact in WSO2 Integration Studio. artifact in WSO2 Integration Studio.

https://ei.docs.wso2.com/en/latest/micro- https://ei.docs.wso2.com/en/latest/micro-
integrator/develop/creating-artifacts/creating-an-api/ integrator/develop/creating-artifacts/creating-a-proxy-service/
WSO2 | January 2024

Sending a Simple Message to a Service


https://apim.docs.wso2.com/en/latest/tutorials/integratio
n-tutorials/sending-a-simple-message-to-a-service/

Exercises to
practice Message Routing
https://apim.docs.wso2.com/en/latest/tutorials/integratio
n-tutorials/routing-requests-based-on-message-content/

Service Orchestration
https://apim.docs.wso2.com/en/latest/tutorials/integratio
n-tutorials/exposing-several-services-as-a-single-service/

Message Transformation:
https://apim.docs.wso2.com/en/latest/tutorials/integration-
tutorials/transforming-message-content/ .
WSO2 | January 2024

Development best practice


Here are the guidelines and recommendations to design, develop, test, and deploy WSO2 integration solutions:

https://ei.docs.wso2.com/en/latest/micro-integrator/references/best-Practices/
WSO2 | January 2024

WSO2 API Management


WSO2 API Manager (APIM) is a comprehensive platform that enables organizations to create, publish, manage,
and secure APIs (Application Programming Interfaces). It provides a complete set of tools and features to facilitate
API lifecycle management, developer engagement, and API monetization. WSO2 APIM helps organizations adopt
API-driven strategies, enabling them to expose services as APIs and promote innovation, collaboration, and digital
transformation.
WSO2 | January 2024

Designing an API
Designing an API spans through a few phases of an API Lifecycle. A correct tool can help design an API seamlessly
and efficiently. WSO2 API Manager supports the designing of an API via the API Publisher Portal.

https://apim.docs.wso2.com/en/latest/design/design-api-overview/
WSO2 | January 2024

WSO2 APIM Components and User Roles


This is how the integration components and API management components of WSO2 API Manager work
together to enable API-led integration.

An API Creator converts the integration service to a An Integration Developer creates the service using
managed API (apply security, rate limiting, etc.). WSO2 Integration Studio and deploys it in the Micro
Integrator runtime.

An API Publisher publishes the API to the API


marketplace (Developer Portal).

An API Consumer (application developer) discovers and


uses this API from the Developer Portal.
WSO2 | January 2024

WSO2 API Manager Best Practices


Here are the guidelines and recommendations to design and deploy APIs using WSO2 API Manager:

https://apim.docs.wso2.com/en/4.0.0/reference/wso2-api-manager-best-practices/
QUESTIONS
I will be happy to answer your questions

You might also like