Upgrade your distributed applications with microservices. This practical guide bridges core concepts and advanced patterns to help you build resilient, scalable and high performing microservices, whether you're transitioning from monolithic architectures or starting fresh with microservices.
Fully updated for Spring Boot 3 and Spring Cloud, the Second Edition covers modern capabilities, like reactive programming, enhanced observability, advanced security and streamlined configuration management. Learn to solve common architectural challenges in cloud-native development, including service discovery, inter-service communication, distributed transactions, configuration management and fault tolerance mechanisms like retries, timeouts and circuit breakers. You’ll also implement real-world patterns using powerful frameworks like Axon for event sourcing and command handling, and Atomikos for managing distributed transactions with XA protocols.
This book provides a hands-on introduction to building modern cloud-native applications from scratch, building up to in-depth discussions on advanced topics, such as CQRS and event-driven architecture.
You Will:
Explore the latest features in Spring Boot 3 and Spring Cloud 2024
Build and manage microservices with routing, security and inter-service communication
Apply proven patterns for real-world microservices problems
Design event-driven architectures and implement CQRS
Enable service discovery, centralized configuration, and resilience with Spring Cloud
Handle distributed transactions using XA, and Saga patterns
Leverage Axon Framework for event sourcing and command handling
Secure services with OAuth 2.0 and JWT
Learn best practices for testing, fault tolerance and observability