Home » quarkus

Tag Archives: quarkus

Inject Quarkus list types with @ConfigProperty

java-interview-questions-answers

Inject Quarkus list types with @ConfigProperty In a previous post, you’ve seen how to map complex configuration structures with Quarkus using @ConfigMapping. If you have a typed collection, e.g. List<String>, you can also inject these values via @ConfigProperty: @ApplicationScoped public class CoffeeShopConfig { @ConfigProperty(name = "complex.list") List<String> list; ... } The list can be populated either by a hierarchical config ...

Read More »

Using the Quarkus dev mode for non-Quarkus projects

java-interview-questions-answers

The Quarkus dev mode increases our development productivity and especially reduces the turnaround times how long it takes to get test feedback. For Quarkus projects, this is a huge benefit. However, with some hacky workarounds, it’s possible to run the tests of a plain Java project also in a similar way. In this video, I’m showing how to add the ...

Read More »

Development workflows that put you in a flow state (Video)

Programming is very much a flow activity in which we can fully immerse ourselves into the task. But there are differences in how much our local development setup allows us to do so, especially with regards to the waiting times. In this video, I’m showing what to consider in our development environments to come up with a setup that enables ...

Read More »

Introduction into GraalVM (Community Edition): Cloud as a Changing Force

1. Introduction The shift towards cloud computing has had a massive impact on every single aspect of the software development process. In particular, the tools and frameworks the developers have had mastered for years suddenly became unfit, or to say it mildly, outdated. To reflect the reality, the whole new family of frameworks and libraries has emerged, collectively called cloud-native. ...

Read More »

Quarkus remote dev in Docker containers (Update)

In an earlier video, I shared how to run the Quarkus remote-dev mode in Docker containers, which is very helpful for local and remote development environments. Since Quarkus version 1.6, however, the way how we execute the remote dev mode has changed. Assuming, we’d like to have the same setup like in the mentioned video. What’s new is that we ...

Read More »

Stylish API

java-interview-questions-answers

In this blog post we are going to look at the new styling and other new options available in OpenAPI and SwaggerUI Quarkus (v1.10.0 +). Styling Default style The default style for Swagger UI has changed from the vanilla Swagger UI to a Quarkus branded page: In this post we mostly focus on Swagger UI, but the styling options also ...

Read More »

Experimental GraphQL

java-interview-questions-answers

This blog post is a follow up on the initial introductory post, Supersonic Subatomic GraphQL, and here we will explore more features, some that is experimental, that we hope to eventually move to the MicroProfile GraphQL Specification (based on your feedback !) We will look at the following: Operational Context – Optimize your downstream processes.Cache – Caching your endpoints.Asynchronous – ...

Read More »

Solve the facility location problem

We have created a new quickstart that extends OptaPlanner use case portfolio with the facility location problem and also demonstrates building a cloud-native application using Quarkus, the new Java Native stack. The facility location problem The facility location problem consist of a set of potential facility locations and a set of consumer points that need to be served by the ...

Read More »