Ballerina

Join the Ballerina Track
Ballerina is a cloud-native programming language that incorporates fundamental concepts of distributed system integration into the language and offers a type safe, concurrent environment to implement microservices with distributed transactions, reliable messaging, stream processing, and workflows.
Track mentors

0 Mentors

Our mentors are friendly, experienced Ballerina developers who will help teach you new techniques and tricks.
Track students

7 Students

Join hundreds of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

7 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Ballerina

Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes. Ballerina incorporates fundamental concepts of distributed system integration into the language and offers a type-safe, concurrent environment to implement microservices with distributed transactions, reliable messaging, stream processing, and workflows.

Ballerina is a language designed to be integration simple. Based around the interactions of sequence diagrams, Ballerina has built-in support for common integration patterns and connectors, including distributed transactions, compensation and circuit breakers. With first-class support for JSON and XML, Ballerina makes it simple and effective to build robust integration across network endpoints.

Join the Ballerina track
import ballerina/http;
import ballerina/io;

service<http:Service> hello bind { port: 9090 } {

  sayHello (endpoint caller, http:Request request) {
    http:Response response = new;
    response.setTextPayload("Hello Ballerina!\n");
    _ = caller -> respond(response);
  }
}

Exercism is a great website

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

Fun. Challenging. Interesting

Community-sourced Ballerina exercises

These are a few of the 7 exercises on the Ballerina track. You can see all the exercises here.

Greeting Service
easy
http
services
strings
Service Invocation
easy
http
services
strings
log
Hello World Service
easy
strings
services
http
Calculator Service
easy
json
services
http
types
Order Management
easy
http
json
map
Legacy Service Client
easy
http
union type
match
error handling

Get started with the Ballerina track. As with everything on Exercism, it's 100% free!

Join the Ballerina Track