Here are some simple steps for the title.
Download and install the latest version of STS from here. https://spring.io/tools
Click Create new Spring Starter Project, specify "Type" as "Gradle (Buildship 3.x)" and click Next.
Select the following.
(Some of them are not used this time, but I always check the ones I use)
Finish。Create a controller. In Package Explorer, right-click com.example.demo under src / main / java, click New> Class, and Finish with a Name of "TopController".
Create a view. In Package Explorer, right-click templates under src / main / resources, click New> File, and Finish with a Name of "top.html".
For simplicity, open build.gradle and comment out the dependencies that need to be set instead of using it this time. Don't forget to right-click on the project and launch Reflesh Gradle Project.
In recent years, programming languages have become popular and obsolete, but Java is a statically typed language, so it is easy to refactor, and it is suitable for large-scale development (more than 10 years from the initial development, it is a rough system with only small-scale maintenance), Android Kotlin is also appearing for this, and it is still very popular all over the world.
On the other hand, I think that there are many people who are not good at using Java because it is strict and redundant, but this can be solved by using a library like Lombok or FW like Spring Boot. Mostly.
In this article, I briefly introduced how to build a simple development environment for Spring Boot, which can be said to be the standard in the Java world. I hope it will give you an opportunity to experience this opportunity.
Recommended Posts