Over 35 recipes to help you build, test, and run Spring applications using Spring Boot
About This BookLearn to create different types of Spring Boot applications, configure behavior, and add custom componentsBecome more efficient in testing, deploying, and monitoring Spring Boot based applicationsThis is a practical guide that will help Spring developers to develop and deploy applications using Spring BootWho This Book Is ForIf 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 LearnCreate Spring Boot applications from scratchConfigure and tune web applications and containersCreate custom Spring Boot auto-configurations and startersUse Spring Boot Test framework with JUnit, Cucumber, and SpockConfigure and tune web applications and containersDeploy Spring Boot as self-starting executables and Docker containersMonitor data using DropWizard, Graphite, and DashingIn DetailSpring 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 approachThis 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.