Skip to Content
Learning Spring Boot 4 - Fourth Edition
book

Learning Spring Boot 4 - Fourth Edition

by Wanderson Xesquevixos, Ranga Rao Karanam, Magnus Larsson, Greg L. Turnquist
July 2026
Intermediate
306 pages
3h 27m
English
Packt Publishing

Overview

Build Java web apps swiftly with this fourth edition of the best-selling Spring Boot guide for beginners, updated and enhanced with defining features of Spring Boot 4

Key Features

  • Learn Spring Boot in a cohesive manner with this practical guide
  • Discover popular Java developer tools such as GraalVM native images, serving up JSON, and more
  • Build secure, observable, and scalable web applications from zero to production

Book Description

Spring Boot 4 brings more than just the powerful ability to build secure web apps on top of a rock-solid database. It delivers Jackson integration, support for JSpecify, an enhanced retry mechanism, and updated actuator defaults, along with ways to squeeze out more efficient usage of existing resources.

This fourth edition of the bestseller starts off by helping you build a simple app, and then shows you how to secure, test, bundle, and deploy it to production. Next, you’ll familiarize yourself with the ability to go “native” and release using the latest version of GraalVM. As you advance, you’ll explore reactive programming and get a taste of scalable web controllers and data operations.

This edition covers three new topics on Virtual Threads and Concurrency, Observability and Building Intelligent Applications with Spring AI.. If you want to gain a thorough understanding of building robust, modern applications using the core functionality of Spring Boot, then this is the book for you.

By the end you’ll be able to build an entire suite of web applications using Spring Boot and deploy them to any platform you need.

What you will learn

  • Create powerful, production-grade web applications with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support with features
  • Enhance the security model of your apps
  • Building Intelligent Applications with Spring and AI
  • Build anything from lightweight unit tests to fully running embedded web container integration tests
  • Take advantage of the enhanced observability capabilities of Spring Boot 4
  • Get a glimpse of reactive programming and decide if it's the right approach for you

Who this book is for

This book is for both novices and experienced Spring developers looking to learn how to build applications without wasting time on infrastructure and other tedious details. Working knowledge of the Java programming language is assumed.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Spring Boot 3 and Spring Framework 6

Spring Boot 3 and Spring Framework 6

Rheinwerk Publishing, Inc, Christian Ullenboom

Publisher Resources

ISBN: 9781807427115