Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't know which project to create inside Spring Tool Suite

I am new with developing web application with Java Spring Framework inside Spring Tool Suite IDE. When start a new project there are so many kinds of project such as Spring Project, Simple Spring Utility Project, Spring VMC Template Project, Spring Roo Project, Static Web Project, Dynamic Web Project and Maven Project. I do not know which project I should select? Can someone explain me, please?

like image 737
O Connor Avatar asked Mar 18 '14 17:03

O Connor


1 Answers

I would choose none of the above.

If you have a recent version of STS (since 3.4 I think) there is also an "Import Spring Getting Started Content" (clue in the name: if you are getting started this is a good place to look, and all the guides are online at https://spring.io/guides). If you are studying the guides then this is the best place to start.

You also get a "Spring Starter Project" option directly in the "New" menu. If you want a minimal project with enough code to run but no actual business logic, then this is the best place to start. It's what you would use to create the code in the guides mostly.

The other options (including all those listed in the original post) are unofficially deprecated, and not particularly well maintained or modern.

like image 101
Dave Syer Avatar answered Sep 29 '22 12:09

Dave Syer