Simplify Dependency Management

Learn how Spring Boot simplifies dependency management by providing opinionated starter dependencies.

Issues with dependency management

A set of JARs is required for a Java application to function properly. If we’ve spent any time developing software, we’re probably familiar with the headaches that come with dependency management.

Any feature we want to introduce in a Java based application will require a number of dependencies. For example, a set of dependencies must be added for our application to expose a simple REST endpoint.

This problem multiplies when we consider versions. One version of a particular dependency can work with only a specific version of other dependencies.

What if we happen to upgrade a library to a newer version? It will have a cascading effect on all the dependent libraries, which would eventually lead to a game of dependency “Whack-a-Mole.”

Get hands-on with 1200+ tech skills courses.