Have a personal or library account? Click to login
Spring Boot Cookbook Cover

Spring Boot Cookbook

Over 35 recipes to help you build, test, and run Spring applications using Spring Boot

Paid access
|Sep 2025
Product purchase options

Over 35 recipes to help you build, test, and run Spring applications using Spring Boot

Key Features

    Book Description

    Spring Boot is Spring's convention-over-configuration solution. This feature makes it easy to create Spring applications and services with absolute minimum fuss. Spring Boot has the great ability to be customized and enhanced, and is specifically designed to simplify development of a new Spring application.
    This book will provide many detailed insights about the inner workings of Spring Boot, as well as tips and recipes to integrate the third-party frameworks and components needed to build complex enterprise-scale applications.
    The book starts with an overview of the important and useful Spring Boot starters that are included in the framework, and teaches you to create and add custom Servlet Filters, Interceptors, Converters, Formatters, and PropertyEditors to a Spring Boot web application. Next it will cover configuring custom routing rules and patterns, adding additional static asset paths, and adding and modifying servlet container connectors and other properties such as enabling SSL.
    Moving on, the book will teach you how to create custom Spring Boot Starters, and explore different techniques to test Spring Boot applications. Next, the book will show you examples of configuring your build to produce Docker images and self-executing binary files for Linux/OSX environments.
    Finally, the book will teach you how to create custom health indicators, and access monitoring data via HTTP and JMX.

    What you will learn

    • Create Spring Boot applications from scratch
    • Configure and tune web applications and containers
    • Create custom Spring Boot autoconfigurations and starters
    • Use Spring Boot Test framework with JUnit, Cucumber, and Spock
    • Configure and tune web applications and containers
    • Deploy Spring Boot as selfstarting executables and Docker containers
    • Monitor data using DropWizard, Graphite, and Dashing

    Who this book is for

    If you are a Spring Developer who has good knowledge level and understanding of Spring Boot and application development and now want to learn efficient Spring Boot development techniques in order to make the existing development process more efficient, then this book is for you.

    Table of Contents

    1. Getting Started with Spring Boot
    2. Configuring Web Application
    3. Web Framework Behavior Tuning
    4. Writing Custom Spring Boot Starters
    5. Application Testing
    6. Application Packaging and Deployment
    7. Health Monitoring & Data Visualization
    PDF ISBN: 978-1-78528-911-8
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 206