Member-only story

Getting started with Helidon 2

Juarez Junior
8 min readApr 17, 2022

--

Helidon 2

by Juarez Junior

Introduction

Helidon is a cloud-native, open‑source set of Java libraries for writing microservices that run on a fast web core powered by Netty.

This blog post is a quick guide to getting started with Heldon 2, the newest release of Helidon. The Helidon 2 release contains significant new features, enhancements, and fixes. For a complete list of fixes and enhancements, see the Helidon 2.x.x changelog.

This quick guide is not supposed to replace the introductory guide provided by the official documentation. It’s just a quick-start guide for impatient developers. So without further ado, let’s get started!

Prerequisites

Helidon requires Java 11+ and Maven 3.6.x+ at least. You will need Docker 18+ if you want to build and deploy Docker containers. If you want to deploy to Kubernetes, you need kubectl 1.16+ and a Kubernetes cluster

After all the installations, run the commands below to verify your environment:

java -version
mvn --version
docker --version
kubectl version --short

Sample output is shown below:

C:\java-projects>java -version
java version "18" 2022-03-22
Java(TM) SE Runtime Environment (build 18+36-2087)
Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
C:\java-projects>mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\apache-maven-3.6.3\bin\..
Java version: 18, vendor: Oracle Corporation, runtime: C:\jdk-18
Default locale: en_GB, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
C:\java-projects>docker --version
Docker version 20.10.12, build e91ed57
C:\java-projects>kubectl version --short
Client Version: v1.22.5

Programming Model — Helidon SE (Reactive) and Helidon MP (Microprofile)

Helidon supports two programming models for writing microservices: Helidon SE and Helidon MP.

Helidon SE is designed to be a microframework that supports the reactive programming model, while Helidon MP is an…

--

--

Responses (1)

Write a response