Home » quarkus

Tag Archives: quarkus

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 »

MicroProfile OpenAPI for everyone

java-interview-questions-answers

MicroProfile OpenAPI is primarily used for adding OpenAPI to JAX-RS Endpoints. In this blog post we will look at how the SmallRye Implementation extends this with some extra features, and support for more web frameworks, when used in Quarkus. Using Quarkus The example code is available here. You can also initialize a project using code.quarkus.io – just make sure to ...

Read More »

Pragmatic database migrations with Quarkus and Flyway

java-interview-questions-answers

I’ve recorded a video in which I’ll show how to perform database migrations in Quarkus applications using the Flyway Quarkus Extension. Similar to the previous example, I’m using Flyway to perform database schema migrations, but in this example, Flyway is shipped with the application and executed at startup time. This is a more pragmatic, less flexible approach, ideal for non-Kubernetes ...

Read More »

Supersonic Subatomic GraphQL

java-interview-questions-answers

MicroProfile GraphQL is now included in the just released version 1.5.0 of Quarkus. You can now use code.quarkus.io to get going with Quarkus and include the SmallRye GraphQL Extension. This will create a Quarkus starter application with the following dependencies: <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-resteasy</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit5</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-smallrye-graphql</artifactId> </dependency> NOTE: At ...

Read More »

Neo4J OGM with Quarkus

In the following video I show an example Quarkus application that uses a Neo4J database and Neo4J OGM. Have a look at the example project on GitHub. I’ve created an example domain for coffee beans with certain flavor profiles that we can query and match. The red nodes are coffee beans that are from a certain country and taste like ...

Read More »

Supersonic subatomic Enterprise Java from the ground up

java-interview-questions-answers

I’ve created a video in which I explain “supersonic subatomic Java” with Quarkus, a runtime for modern Java applications. Whether you’re just starting out in the world of Enterprise Java or whether you’re already an experienced Java EE / J2EE developer, this session will guide you towards how to build modern cloud-native microservices in the year 2020. In this video, ...

Read More »