This article discusses how to upgrade your existing Quarkus 2.x applications to Quarkus 3.x using the Quarkus CLI tool. We will learn at first which is the impact of the upgrade on Quarkus 2 application. Then, we will show how to perform the upgrade with just a single command line!
Quarkus
Quarkus is a Kubernetes native Java framework tuned for OpenJDK HotSpot and GraalVM. Quarkus aims to become the leading Java platform for building Kubernetes and serverless environments. Thanks to its capabilities, developers can leverage unified reactive and imperative programming model to create a wide range of distributed application architectures.
The latest version of Quarkus is 3.4.0
<dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-bom</artifactId> <version>3.4.0</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies>
Learn Quarkus through the following steps:
The Basics
Getting started with QuarkusIO
Development with Quarkus
Creating Quarkus projects using IntelliJ IDEA
How to create Quarkus Command Mode applications
Container and Cloud
Building Container-ready native applications with Quarkus
Deploying Quarkus applications on OpenShift
How to run Quarkus applications on Kubernetes
Persistence
Getting started with Quarkus and Hibernate
Data Persistence with Quarkus and Hibernate Panache
Zero Config Database configuration with Quarkus (DevServices)
Testing
A practical guide for testing Quarkus applications
Web UI
Qute: a template for Quarkus Web applications
Reactive Programming
Reactive REST with Quarkus made easy
Getting started with Hibernate reactive on Quarkus
Quarkus Reactive messaging with Kafka
Quarkus Reactive messaging with AMQ
Monitoring
Monitoring Quarkus with Prometheus
Monitoring Quarkus runtime with DevUI
Are you going for a Quarkus Interview? check this: Quarkus Interview Questions
Addressing CVE-2023-4853 in Quarkus
The CVE-2023-4853 vulnerability in question impacts Quarkus framework’s HTTP Security Policy, . This policy provides access control to various endpoints within an application enabling developers to secure access based on path-based configurations. However, a critical flaw has been identified in how the HTTP Security Policy handles request paths containing multiple adjacent forward-slash characters.
Quarkus CRUD Example with Panache Data
In this tutorial we will learn how to create a REST CRUD application in Quarkus, starting from a Hibernate Panache Entity. We will show two different approaches: in the first one we will create a REST Resources to map the CRUD methods. Then, we will show how to use REST Data Panache to generate automatically a REST Endpoint for an Entity.
Designing Quarkus Front-Ends with Vaadin made easy
Vaadin Flow provides a comprehensive set of UI components and tools for creating rich and interactive user interfaces, while Quarkus offers a lightweight and efficient Java framework for developing cloud-native applications. In this article, we will explore how to combine the strengths of Vaadin and Quarkus to build web applications with ease.
Quarkus Transaction Timeout configuration
Quarkus is a popular framework for building efficient and scalable Java applications. One critical aspect of application development is managing transactions, and Quarkus provides flexible ways to configure transaction timeouts. In this article, we’ll explore how to configure transaction timeouts in Quarkus. Default Transaction Timeout The Narayana JTA transaction manager lets you coordinate and expose … Read more
SOAP Web Services with Quarkus made easy
In this step-by-step guide we will learn how to code, run and test SOAP web services using the Quarkus CXF Extensions. We will first learn how to deploy a simple SOAP Web services and then we will consume it with different Clients such as SOAP UI, Java Client or a Camel CXF Consumer.
Quarkus 3 Cheatsheet (2023)
Quarkus is a popular Java framework designed to build lightweight, fast, and efficient applications. It optimizes for container-based deployment, reducing memory consumption, and offering rapid startup times. This cheat sheet provides a quick reference guide to some of the most common commands you’ll use while working with Quarkus applications. Project setup On-line project Initializer: https://code.quarkus.io/ … Read more
Quarkus Reactive REST made easy
Quarkus JAX RS implementation has improved a lot since its first release. Within this tutorial we will show some new features which are available in Quarkus starting from the new reactive REST paradigm.
How to change Quarkus default HTTP Port?
Quarkus includes the “undertow” extension which is triggered when you include a JAXRS dependency in your project. We will see in this tutorial which are the most common settings you can apply to a Quarkus application to configure the embedded Undertow server. First of all let’s specify how you can set configuration parameters on Quarkus. … Read more
How to use a Datasource in Quarkus
Agroal is a connection pool implementation that can be used with Quarkus to manage database connections. In this tutorial, we will go over how to use the DataSource in a Quarkus application.