Medium java spring

2. What happens internally when you add spring-boot-starter-web?

Sample answer: "A starter is a dependency bundle. The web starter brings Spring MVC, Jackson and embedded Tomcat. Now those classes are on the classpath, so the conditions on the web MVC, Jackson and servlet web server auto-configurations match. Boot then creates the DispatcherServlet, message converters and a Tomcat server on port 8080."

Sources (2)
  1. Build systems: Starters
  2. Servlet web applications: Embedded servlet container support