Over 35 recipes to help you build, test, and run Spring applications using Spring Boot
About This Book
- Learn to create different types of Spring Boot applications, configure behavior, and add custom components
- Become more efficient in testing, deploying, and monitoring Spring Boot based applications
- This is a practical guide that will help Spring developers to develop and deploy applications using Spring Boot
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.
What You Will Learn
- Create Spring Boot applications from scratch
- Configure and tune web applications and containers
- Create custom Spring Boot auto-configurations and starters
- Use Spring Boot Test framework with JUnit, Cucumber, and Spock
- Configure and tune web applications and containers
- Deploy Spring Boot as self-starting executables and Docker containers
- Monitor data using DropWizard, Graphite, and Dashing
In Detail
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.
Style and approach
This book is a cohesive collection of recipes that provide developers with a set of connected guidelines on how to build, configure, and customize their application, starting from the design and development stages, all the way through testing, deployment, and production monitoring.