Introduction to the Ballerina language
In this section, we will discuss how Ballerina came to be, the purpose of building this new language, and how it functions internally. We will also address how Ballerina manages its non-blocking threading model, which is an integral aspect of creating high-performance applications.
A glimpse of Ballerina
WSO2 has provided integrated solutions for over a decade. WSO2 has provided ESB solutions to integrate SOA-based services. WSO2 adapts Apache Synapse as the underlying mediation engine of the WSO2 ESB. Synapse offers a Domain-Specific Language (DSL)based on XML to describe message handling and logic for transformation. In SOA, messaging between services is mainly done with SOAP requests. XML message manipulation is mainly handled by using Xpath. However, creating complex message and transformation scenarios with a DSL can be difficult, and general programming languages such as Java are used to implement such scenarios.
The Ballerina language...