This is the code repository for Spring Boot 2.0 Cookbook - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
This practical guide makes the existing development process more efficient. Spring Boot Cookbook 2.0 Second Edition smartly combines all the skills and expertise to efficiently develop, test, deploy, and monitor applications using Spring Boot on premise and in the cloud. We start with an overview of the important Spring Boot features you will learn to create a web application for a RESTful service. Learn to fine-tune the behavior of a web application by learning about custom routes and asset paths and how to modify routing patterns. Address the requirements of a complex enterprise application and cover the creation of custom Spring Boot starters.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code files of all the chapters are present.
The code will look like the following:
@Configuration
public class WebConfiguration {
@Bean
public RemoteIpFilter remoteIpFilter() {
return new RemoteIpFilter();
}
}
For this book, you need to have JDK 1.8 installed on your favorite operating system, Linux, Windows, or OS X. It is assumed that readers have reasonable familiarity with Java, including the latest features added by JDK 1.8, as well as basic knowledge of Spring Framework and its operating concepts, such as dependency injection, inversion of control, and MVC.
The rest of the software, such as the Gradle build tool, all the necessary Java libraries, such as Spring Boot, Spring Framework, and its dependencies, as well as Docker, Consul, Graphite, Grafana, and Dashing will be all installed throughout the recipes.
Click here if you have any feedback or suggestions.