In this section, we will demonstrate how to develop a Java-based REST/JSON Spring Boot service using STS.Â
The full source code of this example is available as the chapter3.Bootrest project in the code files of this book under the following Git repository: https://github.com/rajeshrv/Spring5MicroserviceÂ
- Open STS, right-click in Project Explorer window, select New Project, then select Spring Starter Project as shown in the following screenshot. Then click on Next:
- The Spring Starter Project is a basic template wizard, which provides a selection of a number of other starter libraries.
- Type the project name as chapter3.bootrest, or any other name of your choice. It is important to choose the packaging as Jar. In traditional web applications, a war file is created, and then deployed into a...