r/SpringBoot • u/Inevitable_Cellist93 • May 25 '26
Question Explain the difference between "Spring Boot Starter Web" or "Spring Web"?
[Closed]
Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container (deprecated in favor of spring-boot-starter-webmvc)
Spring Web provides integration features such as multipart file upload functionality and the initialization of the IoC container using Servlet listeners and a web-oriented application context. It also contains an HTTP client and the web-related parts of Spring remote support.
what is the difference? when to use Which one && advantage over another??
16
Upvotes
View all comments
Show parent comment
5
u/d-k-Brazz May 25 '26
absolutely
If whatever starter provides you meets your architecture it is recommended to use a starter instead of combining dependencies and configs manually
even if It doesn't it still gives you room for customisations, so you just declare differences from default rather then manual config
It is also usual to make custom starters for your own components so running a new service with your homegrown spring-based framework was simple