Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Cloud-Native Applications with Java and Quarkus

You're reading from   Hands-On Cloud-Native Applications with Java and Quarkus Build high performance, Kubernetes-native Java serverless applications

Arrow left icon
Product type Paperback
Published in Dec 2019
Publisher Packt
ISBN-13 9781838821470
Length 314 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Francesco Marchioni Francesco Marchioni
Author Profile Icon Francesco Marchioni
Francesco Marchioni
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Getting Started with Quarkus FREE CHAPTER
2. Introduction to Quarkus Core Concepts 3. Developing Your First Application with Quarkus 4. Creating a Container Image of Your Application 5. Section 2: Building Applications with Quarkus
6. Adding Web Interfaces to Quarkus Services 7. Managing Data Persistence with Quarkus 8. Building Applications Using the MicroProfile API 9. Securing Applications 10. Section 3: Advanced Development Tactics
11. Advanced Application Development 12. Unifying Imperative and Reactive with Vert.x 13. Reactive Messaging with Quarkus 14. Other Books You May Enjoy

Summary

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime