Starters
Spring Boot starters are sets of convenient dependency descriptors, and they only contain a dependency descriptor file, which is the pom.xml file. By convention, all official starters follow the naming pattern—spring-boot-starter-*, where * is a particular technology, for example, jdbc, and web. Spring Boot also has a core starter, which is spring-boot-starter. All other starters depend on this starter, mostly for the autoconfiguration support it provides. The core starter is also a dependency descriptor, and its autoconfiguration ability comes from its spring-boot-autoconfigure dependency. We will discuss autoconfiguration soon.
Let's take a close look at the spring-boot-starter-jdbc starter. In this starter's pom.xml file, listed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access