Spring Boot 3 API Mastery
eBook - ePub

Spring Boot 3 API Mastery

Write scalable, reactive, and secure APIs for microservices with Spring Boot 3 and Java 21 (English Edition)

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Spring Boot 3 API Mastery

Write scalable, reactive, and secure APIs for microservices with Spring Boot 3 and Java 21 (English Edition)

About this book

Description
This book is a complete guide to designing and implementing scalable, secure, and modern APIs in a microservices architecture. Covering both synchronous communication via REST, GraphQL, and gRPC, as well as asynchronous communication with Kafka, it equips you with the tools to build efficient, reliable, and observable APIs.Learn best practices for designing REST APIs, including HTTP verb usage and the API-first approach. Explore Spring Boot technologies like WebFlux and virtual threads to build scalable REST APIs. The book also demonstrates how to use Spring Cloud Stream for broker-agnostic asynchronous communication to build robust event-driven architectures.To ensure observability, you will implement logging, monitoring, and tracing with Grafana, Prometheus, and Tempo. Security is key, and the book covers OAuth2 and OpenID Connect using Spring Security and Keycloak for centralized authentication. Finally, discover how to deploy microservices with Docker and Kubernetes, mastering containerization and orchestration.

Key Features
? Design scalable and observable APIs for cloud-native microservices.
? Master REST, GraphQL, gRPC, and event-driven API best practices.
? Secure APIs with OAuth2, OpenID Connect, and Spring Security.

What you will learn
? Design scalable, secure REST APIs with Spring Boot, WebFlux, and virtual threads.
? Implement GraphQL and gRPC for modern APIs.
? Master asynchronous communication with Kafka and Spring Cloud Stream.
? Achieve observability with logging, metrics, and distributed tracing.
? Deploy microservices on Docker and Kubernetes with ease.

Who this book is for
This book is for software developers and architects aiming to design scalable, secure, and modern APIs in a microservices architecture. Prior knowledge of Java and Spring Framework is recommended.

Table of Contents
1. Introduction to REST Architecture and API-first Approach
2. Reactive REST APIs with Spring WebFlux
3. Easily Scalable APIs with Virtual Threads
4. GraphQL with Spring Boot
5. Designing APIs with gRPC
6. Asynchronous APIs with Spring Cloud Stream and Apache Kafka
7. Centralized Security with Spring Cloud Gateway
8. Observability and Monitoring
9. Deploying Applications on Kubernetes with Kind

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Spring Boot 3 API Mastery by Vincenzo Racca in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewers
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. Introduction to REST Architecture and API-first Approach
  11. 2. Reactive REST APIs with Spring WebFlux
  12. 3. Easily Scalable APIs with Virtual Threads
  13. 4. GraphQL with Spring Boot
  14. 5. Designing APIs with gRPC
  15. 6. Asynchronous APIs with Spring Cloud Stream and Apache Kafka
  16. 7. Centralized Security with Spring Cloud Gateway
  17. 8. Observability and Monitoring
  18. 9. Deploying Applications on Kubernetes with Kind
  19. Index