Spring Boot Cookbook - Second Edition
- This collection of effective recipes serve as connected guidelines for Spring Boot application development
- Get up to date with the features of the latest version-Spring Boot 2.0
- Learn a number of tips and tricks to improve your efficiency through all the stages of the software development lifecycle
The Spring framework provides great flexibility for Java development, which also results in tedious configuration work. Spring Boot addresses the configuration difficulties of Spring and makes it easy to create stand-alone, production-grade Spring-based applications.
This practical guide makes the existing development process more efficient. As developers, you will gain the skills and expertise to efficiently develop, test, deploy, and monitor applications using Spring Boot.
Starting with an overview of the important Spring Boot features, you will learn to create a web application for a RESTful service. You will learn to fine-tune the behavior of a web application by learning about custom routes and asset paths and modify routing patterns. To address the requirements of a complex enterprise application, we also cover the creation of custom Spring Boot starters.
We also cover the new and improved facilities available to create various kinds of tests introduced in Spring Boot 1.4. You will gain insights into Spring Boot DevTools, which simplifies the common tasks of dynamic code recompiling/restarting and remote debugging. The book covers the basics of the Spring Boot Cloud module so we can explore various Cloud modules.
What you will learn
- Get to know about Spring Boot Starters and create custom auto-configurations
- Work with custom annotations that enable bean activation based on different conditions
- Use DevTools to develop and debug applications easier
- Get to know the effective testing techniques by integrating Cucumber and Spock
- See an eternal application configuration using Consul
- Enhance an existing Spring Boot application to become a Spring Boot Cloud one
- Use Hashicorp Consul and Netflix Eureka for dynamic Service Discovery
- Grasp the various mechanisms that Spring Boot provides to examine data about an application's health