Helidon, designed to be simple and fast, is unique because it ships with two programming models: Helidon SE and Helidon MP. In the graph below, you can see where Helidon SE and Helidon MP align with other popular microservices frameworks.
Helidon SE is a microframework that features three core components required to create a microservice – a web server, configuration, and security – for building microservices-based applications. It is a small, functional style API that is reactive, simple and transparent in which an application server is not required.
Let’s take a look at the functional style of Helidon SE with this very simple example on starting the Helidon web server using the [WebServer](https://helidon.io/docs/latest/apidocs/io/helidon/webserver/WebServer.html)
interface:
WebServer.create(
Routing.builder()
.get("/greet", (req, res)
-> res.send("Hello World!"))
.build())
.start();
Using this example as a starting point, we will incrementally build a formal startServer()
method, part of a server application for you to download, to explore the three core Helidon SE components.
#microprofile #java #helidon #microservices #microservice frameworks #devops #architecture & design #development #article