JavaBeginner#spring

What is the purpose of Spring Boot starters?

Starters are curated dependency descriptors (e.g., spring-boot-starter-web, spring-boot-starter-data-jpa) that bundle compatible libraries together, simplifying Maven/Gradle dependency management and reducing version conflicts.

Example
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- pulls in Tomcat, Jackson, Spring MVC, etc. -->

Related Questions

1
JavaIntermediate#spring

What is the difference between @RequestParam, @PathVariable, and @RequestBody?

Open
2
JavaIntermediate#spring

What are Spring bean scopes?

Open
3
JavaIntermediate#puzzle#operators

What does this print? int x = 5; System.out.println(x++ + ++x);

Open