1.

How do you generate a Spring Boot based Project? What is the recommended approach?

Answer»

One of the ways to generate the Spring Boot based Project is using Spring Initializer. For this, visit https://start.spring.io/ and select appropriate parameters. This includes selecting build tool (Maven or Gradle), selecting the Language ( Java, Groovy or Kotlin), selecting the Spring Boot version, entering METADATA like Group name, artefact name, package name, java version, release artefact type (Jar, WAR) etc. There is a final section where you can select various Spring Boot Starters, for example, Web Starter or Security Starter

Once all this detail is filled in, you can click on Generate Project to GET a Zipped Spring Boot created.

An alternative to this is to use Spring Tools 4 for Eclipse ( IDE). With this, you can generate a Spring Boot Project direct inside IDE. From File MENU, click on New and then select other. Now look for Spring Starter Project, once found, click on it.

Now Click on Finish and a new Spring Boot Project will be created.



Discussion

No Comment Found