Using Spring Initializr
This section will explain what Spring Initializr is and how to configure and start our project. Spring Initializr is a web application that can generate a Spring Boot project on the fly. Spring Initializr will configure the build file with the required dependencies to run our project, focusing only on the code in the application. Spring Initializr makes it easier to set up our project, with the help of the Spring Boot CLI on the side, helping us configure our application. Spring Initializr generates a more traditional Java structure.
There are several ways to use Spring Initializr:
- Via a web-based interface
- Via Intellij IDEA
We will discuss these different ways to generate our Spring Boot application.
Web-based interface
The first way to use Spring Initializr is using a web-based interface. The application can be accessed through https://start.spring.io. You will see the following form once you open the link: