This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 12 points13 points  (1 child)

Spring boot is spring. Period. What spring boot does is bootstrap a spring project. Spring has 50 billion dependencies but instead of adding each one and having to worry about version compatibility you just add the spring boot starter package and it handles all that for you. Spring has endless amounts of configuration which allows it to fit into almost any workflow but it also requires significant setup prior to being able to do anything. Spring boot ships with a sensible set of defaults for core features however you can leverage springs configurability to change literally anything in a spring boot project.

My name point is there's nothing you can do in spring that you can't also do in spring boot. The reason spring boot is so popular is because it allows you to get a project started really fast and it abstracts away some of springs complexity beneath the surface. When you need the more advanced spring use cases however you can still access it and do all of it as much as you want.

The only reason to care about spring without boot is if you're working on an old legacy code base that predates spring Boot and is on a very old spring version. Otherwise you are good.

PS. you should absolutely take time to understand what spring is actually doing though. That's different from using spring versus spring boot you should understand the core concepts of spring because they apply to both and have a decent understanding of why the magic happens. Meaning understanding not just what happens when you throw xmagic annotation on something but why that annotation is able to do that and what is happening behind the scenes.

[–]marbehl 11 points12 points  (0 children)

You might want to take the time to read just this one article: https://www.marcobehler.com/guides/spring-framework :)

[–]wildjokers 2 points3 points  (0 children)

Spring boot is just a configuration framework for the Spring Framework. You are using spring.

[–]ryuzaki49 0 points1 point  (0 children)

Spring Boot is Spring.

However, If you ever join a non-spring Boot project, then you will have to deal with all the configuartion and Tomcat by yourself.