Pro Spring Boot 2
488 pages
English
PDF
4.5

Pro Spring Boot 2

Pro Spring Boot 2

Author:

Year:

Summary:

Introduction

The book Pro Spring Boot 2 by Felipe Gutierrez is not just another introduction to the popular framework, but a deep dive into the mechanisms underlying Spring Boot. Released in 2019, it remains relevant for developers who want not only to use ready-made solutions but also to understand how they work "under the hood." Over 488 pages, the author systematically reveals the philosophy of Spring Boot, starting with basic setup and ending with advanced topics such as creating custom starters and integrating with cloud platforms.

What is this book about?

The book is dedicated to the second version of Spring Boot, one of the most sought-after tools in the Java ecosystem. Unlike many tutorials that teach "how to do it," Gutierrez explains "why it works this way." The main focus is on:

  • Auto-configuration and its internal structure
  • Creating production-ready applications
  • Working with databases, including NoSQL
  • Developing microservices and their testing
  • Deployment in the cloud (Cloud Foundry, Heroku, Docker)

Structure of the edition

The material is divided into 13 chapters, each containing practical examples. The first chapters introduce the basics: project setup, configuration files, working with Actuator. The author then moves on to more complex topics: reactive programming with WebFlux, security, monitoring. The final chapters are devoted to creating custom starters and integrating with external systems.

Who is this book for?

The book is intended for experienced Java developers who are already familiar with the Spring Framework and want to transition to Spring Boot 2. It will be difficult for beginners: the author assumes knowledge of Dependency Injection, AOP, JPA, and the basics of web development. However, if you already have experience with Java and want to deepen your knowledge in the field of microservice architecture, this is an ideal choice.

What will the reader learn?

  • How the auto-configuration mechanism works and how to customize it
  • Creating RESTful web services using Spring MVC and WebFlux
  • Integration with various databases (JPA, MongoDB, Redis)
  • Configuring security with Spring Security
  • Monitoring and managing the application via Actuator and Micrometer
  • Deployment in cloud environments and containerization with Docker
  • Writing unit and integration tests for Spring Boot applications

Strengths

The main advantage of the book is depth of elaboration. The author does not just provide ready-made recipes but analyzes the source code of Spring Boot, showing how key annotations and configurations are structured. The second plus is the abundance of practical examples: each section is accompanied by code that can be run immediately. The third is the focus on production scenarios: monitoring, logging, profiles, external configurations. Finally, the book is well-structured: from simple to complex, with clear headings and summaries at the end of chapters.

Who is it recommended for

The book will be useful for:

  • Java developers transitioning to Spring Boot 2
  • Architects designing microservice systems
  • DevOps engineers responsible for deploying Spring applications
  • Senior students studying modern Java frameworks

If you are looking for a book that not only teaches you how to use Spring Boot but also gives you an understanding of its internal structure, Pro Spring Boot 2 will be an excellent purchase.

Recommendations