Card 02/ 06

ExampleDifficulty: Intermediate1 min

What spring-boot-starter-web Actually Brings In

One line in a pom.xml. Here is what it actually resolves to, from mvn dependency:tree, trimmed to the direct children.

text
spring-boot-starter-web:3.3.4
+- spring-boot-starter:3.3.4        (core Boot + auto-configuration + logging)
+- spring-boot-starter-json:3.3.4   (Jackson: databind, JSR-310, JDK8 types)
+- spring-boot-starter-tomcat:3.3.4 (embedded Tomcat)
+- spring-web:6.1.13                (HTTP client/server abstractions)
+- spring-webmvc:6.1.13             (Spring MVC itself)
verified against a real dependency resolution

Spring MVC, Jackson for JSON, and an embedded Tomcat, exactly as the previous card claimed — not a database driver, and not a security library. A starter's job is narrow: the dependencies for one coherent piece of functionality, nothing adjacent.