What’s new with Quarkus 2.0 and how to get started quickly

Quarkus 2.0 has been released! In this article, we will cover the highlights of the new major version and the requirements to get started or migrate to this exciting new version. Quarkus 2.0 aims to bring ease of development at an even higher level. There are several improvements in the tooling area and the major … Read more

Zero Config Database configuration with Quarkus (DevServices)

Quarkus 1.13 ships with a new feature called “DevServices” which allows testing or running in dev mode Quarkus without an actual database configuration. Basically, all you need to do is including the extension in your pom.xml file and Quarkus will set up the playground for you. No need to start or configure a database! Let’s … Read more

Getting started with MongoDB and Quarkus

This tutorial covers the all the steps required for creating a REST application with MongoDB NoSQL Database and Quarkus. MongoDB is a document-oriented NoSQL database which became popular in the last decade. It can be used for high volume data storage as a replacement for relational databases. Instead of using tables and rows, MongoDB makes … Read more

A practical guide for testing Quarkus applications

In this article we will learn how to create simple and advanced tests for your Quarkus applications using the REST Assured API. Quarkus applications can be tested with any Java based testing framework. As most Quarkus applications are built upon a RESTful layer, the framework REST Assured has become a standard for Quarkus appliications. REST … Read more

Monitoring Quarkus with Prometheus

In this tutorial we will leanr how to monitor Quarkus MicroProfile metrics using Prometheus open source monitoring solution. Prometheus is an open-source monitoring and alerting platform. Its main features are: Targets discovery by configuration A multi-dimensional data model with time series data identified by metric name and key/value pairs A flexible query language (PromQL) to … Read more

How to generate a JAX-RS CRUD application in Quarkus using Panache

In this tutorial we will learn how to generate automatically a JAX-RS CRUD application in Quarkus, starting from a Hibernate Panache Entity. Creating CRUD applications for simple REST endpoint is a tedious task which requires adding lots of boilerplate code. Thanks to the quarkus-hibernate-orm-panache extension, this can be self-generated starting from a plain Entity class … Read more

Building Quarkus native applications with Mandrel

Mandrel is a downstream open source distribution of GraalVM edition which can be used to create native builds for Quarkus applications. Quarkus applications require one essential tool of GraalVM – the native-image feature – which is what actually produces native executables. Mandrel let us to have GraalVM bundled on top of OpenJDK 11 in RHEL … Read more

How to connect your Quarkus application to Infinispan

Infinispan is a distributed in-memory key/value data grid. An in-memory data grid is a form of middleware that stores sets of data for use in one or more applications, primarily in memory. There are different clients available to connect to a remote/embedded Infinispan server, In this tutorial we will learn how to connect to Infinispan … Read more

Getting started with Quarkus and Hibernate

This short tutorial shows how to create a Quarkus application which exposes a set of JAX-RS endpoints which are backed by a repository of data managed with JPA: Create a basic Quarkus project first: mvn io.quarkus:quarkus-maven-plugin:1.4.2.Final:create \ -DprojectGroupId=org.acme \ -DprojectArtifactId=quarkus-hibernate \ -DclassName=”org.acme.ExampleResource” \ -Dpath=”/customer” Depending on the Database you will use, you need to include … Read more

Quarkus vs Spring Boot – Part 2

In the first tutorial (Quarkus vs Spring Boot – Part 1) we have compared Spring Boot and Quarkus in relation to the core framework capabilities, memory consumption, cloud readiness and ease of development. In the second part of this article series, we will be comparing which are the actual API that you can use to … Read more