Spring Boot 3 API Mastery: Write scalable, reactive, and secure APIs for microservices with Spring Boot 3 and Java 21 (English Edition)
暫譯: Spring Boot 3 API 精通:使用 Spring Boot 3 和 Java 21 編寫可擴展、反應式及安全的微服務 API (英文版)

Racca, Vincenzo

商品描述

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.

商品描述(中文翻譯)

書籍描述
本書是設計和實現可擴展、安全且現代化的 API 在微服務架構中的完整指南。涵蓋了通過 REST、GraphQL 和 gRPC 的同步通信,以及使用 Kafka 的非同步通信,為您提供構建高效、可靠和可觀察的 API 的工具。

學習設計 REST API 的最佳實踐,包括 HTTP 動詞的使用和 API 優先的方法。探索 Spring Boot 技術,如 WebFlux 和虛擬執行緒,以構建可擴展的 REST API。本書還演示了如何使用 Spring Cloud Stream 進行與代理無關的非同步通信,以構建穩健的事件驅動架構。

為了確保可觀察性,您將實現使用 Grafana、Prometheus 和 Tempo 的日誌記錄、監控和追蹤。安全性至關重要,本書涵蓋了使用 Spring Security 和 Keycloak 的 OAuth2 和 OpenID Connect 進行集中式身份驗證。最後,了解如何使用 Docker 和 Kubernetes 部署微服務,掌握容器化和編排。

主要特點
・設計可擴展和可觀察的 API 以支持雲原生微服務。
・掌握 REST、GraphQL、gRPC 和事件驅動 API 的最佳實踐。
・使用 OAuth2、OpenID Connect 和 Spring Security 確保 API 的安全性。

您將學到什麼
・使用 Spring Boot、WebFlux 和虛擬執行緒設計可擴展、安全的 REST API。
・實現 GraphQL 和 gRPC 以支持現代 API。
・掌握使用 Kafka 和 Spring Cloud Stream 的非同步通信。
・通過日誌記錄、指標和分佈式追蹤實現可觀察性。
・輕鬆在 Docker 和 Kubernetes 上部署微服務。

本書適合誰
本書適合希望在微服務架構中設計可擴展、安全且現代化的 API 的軟體開發人員和架構師。建議具備 Java 和 Spring Framework 的先前知識。

最後瀏覽商品 (20)