Search⌘ K
AI Features

Solution: Quarkus Web

Explore how to create a Quarkus web application by developing REST endpoints, integrating Swagger API documentation, and implementing real-time updates with WebSockets. Understand the use of key Quarkus extensions and test your application with user and auction data to enable live bidding across multiple clients.

We'll cover the following...

Solution

For the below solution, we used the following Quarkus extensions:

  • RESTEasy Reactive
  • RESTEasy Reactive Jackson
  • Smallrye OpenAPI
  • WebSockets

package io.educative;

import io.quarkus.test.junit.QuarkusIntegrationTest;

@QuarkusIntegrationTest
public class GreetingResourceIT extends GreetingResourceTest {
    // Execute the same tests but in packaged mode.
}
Quarkus web challenge solution

In the above solution, we tried to keep the code simple. The main concepts used here are the following:

...