Build resilient and scalable, cloud-native enterprise Java applications using the Quarkus framework.
Quarkus lets you live-reload your Java code, deliver continuous background testing, and automatically provide database instances—plus tons more productivity-boosting features! Quarkus in Action quickly gets you up to speed with Quarkus by building a real-world business application.
In Quarkus in Action, you will:
• Use Quarkus Dev mode to speed up and enhance Java development
• Understand how to use the Dev UI to observe and troubleshoot running applications
• Automatic background testing using the Continuous Testing feature
• New frameworks and libraries such as Quarkus Messaging, gRPC, and GraphQL
• Simplify deployment of applications into Kubernetes and OpenShift
• Automatic management of remote services such as databases and message brokers via Docker containers
• Set up observability for applications by using metrics, health checks and distributed tracing
Quarkus in Action is written by Martin Štefanko and Jan Martiška, Red Hat engineers who are both active contributors to the Quarkus project. In it, you’ll learn how Quarkus works and how you can integrate it into your stack for more productive Java development. Discover what makes Quarkus different from classic enterprise Java frameworks, how Quarkus streamlines creating cloud-native applications, and makes deployment easy.
Foreword by Markus Eisele.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technology
Choose a Java framework that’s as modern as your applications! Quarkus is a cloud-first framework designed for speed and cost optimization. It’s Kubernetes-aware by default and includes amazing productivity features like live reloading, continuous testing, and a developer-friendly UI that lets you code fluidly without tedious setup.
About the book
Quarkus in Action provides a carefully designed learning path through Quarkus’ key features and use cases. You’ll learn hands-on by implementing a working car rental application with a cloud-native microservices design that includes Kubernetes, SQL and NoSQL databases, messaging, and observability. Along the way, you’ll learn how Quarkus simplifies deployment on cloud platforms like OpenShift.
What's inside
• Speed up development with Quarkus Dev mode
• Troubleshoot running apps with Dev UI
• Continuous testing in the background
• Automatic startup of development databases
About the reader
For intermediate Java developers who have experience deve- loping server-side Java applications.
About the author
Martin Štefanko and Jan Martiška are Red Hat engineers and active contributors to the Quarkus project.
Table of Contents
Part 1
1 What is Quarkus?
2 Your first Quarkus application
3 Enhancing developer productivity with Quarkus
Part 2
4 Handling communications
5 Testing Quarkus applications
6 Exposing and securing web applications
7 Database access
8 Reactive programming
9 Quarkus messaging
Part 3
10 Cloud-native application patterns
11 Quarkus applications in the cloud
12 Custom Quarkus extensions
A Alternative languages and build tooling
B Tools installations
C Alternatives for developing frontend applications with Quarkus
About the Author
Martin Štefanko has been working on Red Hat's middleware portfolio for the last seven years. He is responsible for the SmallRye Health and Narayana LRA extensions and is also contributing to several other core extensions mostly around MicroProfile integration. He is also involved in several MicroProfile specifications.
Jan Martiška has been a Red Hatter for over 10 years and spent most of this tenure working on open-source, Java-based application platforms. Jan furthered Quarkus' observability capabilities by leading the MicroProfile Metrics specification and taking care of the relevant Quarkus extension. He’s also contributed a lot into the SmallRye GraphQL extensions, both server and client.
Ebook License
End-User Warranty And License Agreement
1. Grant Of License
Manning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.
2. Restrictions
You Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.
3. Intellectual Property Protection
The Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.
4. Source Code Supplementary Material
Any Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.
5. Limited Warranty
Manning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.
6. Limitation Of Liability
In No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.
7. General
This Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York