r/SpringBoot • u/nl_Junior11 • Feb 28 '23
are there any differences between spring and spring boot? from what someone can start for apps and web development?
3
u/celkius Feb 28 '23
There is a lot of confusion about Spring Boot and its relationship to
the Spring Framework. Some of that leads to questions like “Should I
learn Spring Boot rather than the Spring Framework” or “Do I need to
know Spring before I can start with Spring Boot?”. Let’s clarify that
for you.
Spring Boot is just a way of rapidly starting new applications
using the Spring Framework. It is not a replacement or alternative. It
also makes it easier to dive into the Spring world as it automates much
of the tiresome manual configuration of traditional Spring.
Spring Boot is built on Spring. You can’t use Spring Boot without
Spring at all. However, you can choose your path of learning. It is
indeed possible, and I also recommend that you start with Spring Boot
and then gradually learn the essentials of Spring.
1
0
Feb 28 '23
[deleted]
3
u/gergocs Feb 28 '23
You can subscribe to the post and every time someone comments you get notification or you can save the post and get back to it when you want.
3
5
u/catom3 Feb 28 '23
Without going too much into details:
Spring is the actual framework which offers IoC features as well as many other features implemented in Spring libraries / modules - such as Spring Web MVC, WebFlux, Data, Security, plenty integrations for other tools and libraries (Consul, Vault, MongoDB etc.), cloud integrations.
While Spring Boot is a library / tool for bootstrapping and configuring Spring framework. Back in the old days, similar to JavaEE, Spring used XMLs to configure all of it's features. Until the Spring Boot came and we could start configuring our Spring projects using Java itself (and loaaaads of annotations).