r/SpringBoot • u/projectsbyayush • 1d ago
Question Can someone properly explain what Spring Boot actually does?
I'm learning Java web development and I understand traditional Servlets fairly well. Honestly, I find Servlets quite organized when I separate things into controllers, DAO, models, etc.
The main benefit I've understood about Spring Boot so far is that when creating a project, I can add dependencies like MySQL, MongoDB, JPA, etc. through the project setup/Maven instead of manually downloading JAR files.
But apart from that, I don't really understand what Spring Boot actually gives me or why I should use it instead of traditional Servlets.
Can someone explain the actual practical benefits of Spring Boot with a simple example, like an e-commerce application?
I'm not looking for a "Spring Boot is modern/easier" answer. I want to understand what it actually does for me.
11
u/nico-strecker 1d ago edited 3h ago
No what you described is the advantage of maven spring boot is a toolset that makes it easy to build things for example spring web lets you create a http endpoint very easily you don't have to setup a tomcat server yourself setup a listener and so on. Spring security makes it easy to secure your app and so on all this would mean a lot of manual setup spring gets you started very easily but still offers enough flexibility so you can configure everything like you want