Home » quarkus » Page 2

Tag Archives: quarkus

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 »

Debugging system tests in containers with Quarkus (Video)

java-interview-questions-answers

It improves your development productivity if you’re able to end-to-end test your application locally, with the help of containers. In the following video I’ll show how to debug local system tests in Docker containers with Quarkus. This is a Quarkus extension of my video course on efficient testing. To get the full picture, also have a look at the following ...

Read More »

Qute Templates with Quarkus

java-interview-questions-answers

Quarkus ships with its own templating engine, Qute, which already includes an interesting set of features. In the following video, I’m showing the basic usage of action-based MVC with JAX-RS that forwards our requests to HTML templates. To try out Qute yourself, have a look at the following resources: Example projectQute Templating Engine GuideQute Reference Guide Published on Java Code ...

Read More »

Quarkus on OpenJ9 JVM & resource consumption

java-interview-questions-answers

Besides the native mode, Quarkus also runs well in JVM mode which comes with its own advantages. You can use an alternative JVM, such as OpenJ9 which gives you better resource consumption. In the following video I’ll show how easy it is to swap the JVM. In the video, I’m using the Docker image adoptopenjdk/openjdk14-openj9 in one of the latest ...

Read More »