-
Book Overview & Buying
-
Table Of Contents
The Spring Pocket Guide
By :
Copyright © 2026 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Portfolio Director: Ashwin Nair
Relationship Lead: Aaron Lazar
Project Manager: Ruvika Rao
Content Engineer: Nithya Sadanandan
Technical Editor: Rohit Singh
Copy Editor: Safis Editing
Indexer: Rekha Nair
Proofreader: Nithya Sadanandan
Production Designer: Deepak Chavan
Production reference: 1130326
Published by Packt Publishing Ltd.
Grosvenor House
11 St Paul’s Square
Birmingham
B3 1RB, UK
ISBN 978-1-80760-179-9
www.packtpub.com

Josh Long is a Spring Developer Advocate at Broadcom and has served as the first Spring Developer Advocate since 2010. An engineer, open-source contributor, and educator, he has helped tens of millions of developers reach production with cloud-native technologies such as Spring Boot, Spring AI, Cloud Foundry, and Kubernetes through his articles, videos, books, blogs, courses, and conference talks. Josh contributes to numerous open-source projects, including Spring Boot, Spring AI, Spring Cloud, Spring Integration, Spring Batch, Spring Modulith, JobRunr, Flowable, Vaadin, and MyBatis. He also runs the Coffee Software YouTube channel, and is a Java Champion, Kotlin GDE (alumnus), Microsoft MVP, and lifelong student of new and emerging technologies.
Spring has long been the backbone of modern Java development, empowering teams to build secure, scalable, and production-ready applications with confidence. From startups to global enterprises, developers rely on Spring to move quickly without sacrificing architectural integrity. By combining powerful abstractions with thoughtful defaults, Spring allows you to focus on business value while the framework handles the heavy lifting.
In this nano book, you will take a fast-paced journey through the essentials of modern Spring web development. Starting with project setup using Spring Boot and the Initializr, you will explore how to build HTTP APIs, model data with Spring Data JDBC, and expose services using REST, HATEOAS, GraphQL, and gRPC. Along the way, you will integrate PostgreSQL, consume external APIs, and see how Spring’s component model keeps applications clean, modular, and maintainable.
You will also dive into production-critical concerns such as security with Spring Security and OAuth 2, API gateways, configuration management, scalability with virtual threads, and performance optimization using GraalVM native images. Finally, you will explore how Spring AI, vector databases, tool calling, and the Model Context Protocol (MCP) bring intelligent, AI-powered capabilities into modern applications.
By the end of this guide, you will understand not just how to build a Spring application, but also how to design systems that are secure, scalable, extensible, and ready for real-world production. Whether you are modernizing an existing system or starting fresh, Spring provides the foundation, and this book will help you use it with clarity and confidence.
Change the font size
Change margin width
Change background colour