Finished my first Spring Boot project.
I installed it on the server in my company - everything works, everyone is happy.

So the question is: why is Spring Boot being positioned as “for beginners”? Why it can not be used as a ready-made self-sufficient project and what are the disadvantages compared to the standard Spring MVC war?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants aleksandr barakin , αλεχολυτ , Denis , Streletz , cheops 25 Sep '16 at 20:37 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    Where is it positioned as "for beginners"? Also IMHO these are very general questions not for this site, but for a forum of some kind. - Slava Semushin

1 answer 1

First of all, it is necessary to separate the tasks that Spring Boot and Spring MVC solve.

  • Spring Boot is a tool that allows you to create your application with minimal effort, be it a web project or anything else.
  • Spring MVC is part of the Spring Framework, which is responsible for creating the mvc project.

Spring Boot is convenient for beginners in that with a simple configuration you can get a fully working application-pig, which can be expanded without any problems. You can use it, it just adds a lot of things that you do not need. If we talk about more or less serious products that you develop - this is not correct, and in the future, most likely, you will have to throw them out of the project.

Imho, Spring Boot is ideal for all kinds of prototypes, when you need to quickly make a working application to show / check / test / conduct research. In serious applications or with further development it will be easier and more correct to use the tools that you really need, and not everything in a row.

  • Well, if you continue your logical chain, then Spring "pulls" a lot of excess and then JavaEE is all ours? - barmaglott
  • If you are working on a serious enterprise, imagine, yes, JavaEE is our everything. Spring as a framework allows you to not bother with solving typical problems. And Spring Boot also allows you not to bother with the assembly, the environment, and so on. But whether it is necessary to drag a bunch of code in the form of dependencies into your project - this is up to you. - Evgeny Lazarev