In this chapter, we looked at the different paths we can take to add web content to our Quarkus applications. First, we learned how to create a CRUD in-memory application to manage a set of Java objects. The example application was then accessed by a JavaScript layer (AngularJS) with some peculiar APIs to handle REST calls. We also looked at some configuration parameters that are needed when we want to enable CORS in Quarkus projects. Next, we added a WebSocket layer to introduce full-duplex communication between the initial project and the client frontend.
By completing this chapter, you now know how to use the embedded Vert.x and Undertow server to leverage REST APIs (quarkus-resteasy) and WebSocket/Servlet APIs (quarkus-undertow-websockets).
In the next chapter, we will add database storage for our application using the Hibernate ORM and Hibernate Panache extensions...