The top ten articles about Ballerina

Ballerina is a cloud native programming language that gives special attention to integration. The increasing complexity of software systems means that more and more solutions are highly disaggregated, and, thus, requires efficient integration between these sub-systems. This approach creates more unique challenges, which relates to services, resilient communication, security, transactions, and observability.

Let’s look at the must-read Ballerina articles that will help you to understand the language’s core concepts and start developing.

[1] Ballerina Microservices Programming Language: Introducing the Latest Release and “Ballerina Central”

Ballerina makes it easy to create resilient services that integrate and orchestrate across distributed endpoints. The language includes package management, dependency management, versioning, and a globally hosted registry for connectors and annotations at Ballerina Central. This InfoQ tutorial discusses Ballerina’s design principles that focus on baking integration concepts into a language, including a network-aware type system, sequence diagrammatic syntax, being “DevOps ready”, and environment awareness.


[2] Ballerina Tutorial: A Programming Language for Integration

The language uses compile time abstractions for distributed system primitives. This enables type safety for data transformations and the compiler to generate artifacts like API gateways for deployment to Docker and Kubernetes. It has keywords to represent integration concepts including networked endpoints, services, streaming SQL along with primitives for tables, JSON, and XML. These syntax elements allow IDEs and other tools to generate sequence diagrams from any Ballerina code. This InfoQ tutorial explains what it’s like to author integration flows in Ballerina that are deployable as scalable microservices on Kubernetes.


[3] Building an API Gateway with the Ballerina Programming Language

Ballerina contains constructs typically required in the integration domain such as services, endpoints, circuit breakers and a lot more. This article discusses how to build an API Gateway in Ballerina for WSO2 API Manager. The article also discusses Ballerina’s language constructs and concepts that make it work as an API Gateway.


[4] Packaging Applications for Docker and Kubernetes: Metaparticle vs Pulumi vs Ballerina

This article discusses how the uptake of microservice architecture is further driving the software industry towards cloud native application development and deployment. Docker and Kubernetes are the key elements of modern cloud native deployment automations, and the current best practice for deployment is to create reproducible packages for applications with containers. However, this typically involves the manual writing (and maintenance) of YAML deployment descriptors. Metaparticle, Ballerina, and Pulumi are three open source projects that introduce their own approach to solving the problem of packaging applications for deployment using Docker and Kubernetes. The article provides several working examples, and documents the steps necessary to deploy a simple “HelloWorld” application using each of the frameworks.


[5] Ballerina: A Programming Language for Cloud Native Computing

This article provides an overview of six features in Ballerina that make it a programming language for cloud native computing.

  1. Built-in container support
  2. Serverless-friendly
  3. Observability
  4. Works with or without a service mesh
  5. Easy stream processing with streaming SQL
  6. Baked-in security


[6] Ballerina: An API-First Programming Language

Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes, and it is an attempt to build a modern industrial-grade programming language. It aims to make microservices and integration-heavy programming simpler by baking integration concepts into the language. This article provides a brief overview of key concepts and features.


[7] Ballerina programming language: The missing link in enterprise integration

One could argue that first-class integration capabilities are required in a modern programming language. Given the rapid growth of network-accessible APIs, having effective techniques is critical in consuming and creating compositions based on these resources. Ballerina contains native constructs for such concepts as services, concurrency, secure coding, and transactions, among others.


[8] The rise of Ballerina: An important piece of the microservices architecture puzzle

Jaxenter interviews Paul Fremantle, WSO2 co-founder and CTO, about the language’s features, the advantages of using Ballerina with a serverless platform, early access development support, what’s next for this young language, and more.


[9] Data Integration With Ballerina

Data integration is a complex problem. Data flows to and from many directions via different sources such as databases, the cloud, legacy systems, ERPs, and on-premise applications. How you choose to use, integrate with, and analyze cloud-native data may be different than what you’re used to. This article discusses how Ballerina can be used to solve this problem.


[10] Generate Kubernetes YAML Right From Your App Code

This article discusses how, with a few annotations, Ballerina code can be deployed into Docker and Kubernetes.


Author of ‘Beginning Ballerina Programming’ | Software Developer | Evangelist | 🇱🇰 🇺🇸 | Working at WSO2 Inc. — @lafernando