Are Spring Boot starter dependencies production-ready?

604 Views Asked by At

I'm learning spring boot to develop an eCommerce website by myself. I consider that starter dependencies like spring-boot-starter-web, spring-boot-starter-security can be used for a production environment or just for learning purposes?

1

There are 1 best solutions below

0
On BEST ANSWER

The "starters" are Spring Boot's dependency management and auto-configuration mechanism. The term "starter" does not aim to indicate that it's for non-production uses cases, it is probably just used to emphasize that it gets you started quickly. See the following explanation from the Spring Boot documentation:

Starters are a set of convenient dependency descriptors that you can include in your application. You get a one-stop shop for all the Spring and related technologies that you need without having to hunt through sample code and copy-paste loads of dependency descriptors.

In order to understand starter dependencies better, I suggest reviewing section "Creating Your Own Starter" from the Spring Boot documentation.