Converting a Spring Boot Service To Ballerina

Spring Boot Implementation

build.gradle

mkdir -p src/main/java/org/demo

https://gist.github.com/lafernando/8ec0ea1f1b9dcf1d76669c7f3079e883Application.java
Student.java
StudentRegistryController.java

java -jar build/libs/student-registry-service-0.1.0.jar

Student Registry Spring Boot Application Startup

Ballerina Implementation

student_registry.bal
VS Code — Generated Sequence Diagram for “lookupStudent” Resource

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store