The Ballerina Composer provides a flexible and powerful browser-based tool for creating your Ballerina programs. You can build your integrations by creating sequence diagrams, dragging elements from a tool palette onto a canvas. As you build the diagrams, the underlying code is written for you, which you can work with in the Source view. You can also use the Swagger view to define services by writing Swagger definitions. You can switch seamlessly between the Design view, Source view, and Swagger view and create your programs in the way that you like to work.
You can create your integration in Design view:
And go to Source view to edit the code that's generated:
You can also go to Swagger view to edit the Swagger definition that's generated:
Running the Composer
The Composer is included in the full distribution of Ballerina, which you can download from www.ballerinalang.org. After you unzip it, navigate to its
bin directory in the command line, and enter the following command:
(On UNIX/Linux, enter
The command line will display the URL you can use to access the Composer in your browser.
For complete instructions on creating your integrations and using the Composer, see the Ballerina documentation.