Spring 引导启动器依赖项是否已准备好生产?

Are Spring Boot starter dependencies production-ready?

我正在学习 spring 引导自己开发电子商务网站。我认为 spring-boot-starter-webspring-boot-starter-security 等入门依赖项可用于生产环境或仅用于学习目的?

“启动器”是Spring Boot 的依赖管理和自动配置机制。 “启动器”一词并不旨在表明它适用于非生产用例,它可能只是用来强调它可以让您快速入门。请参阅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.

为了更好地理解入门依赖项,我建议查看 section "Creating Your Own Starter" from the Spring Boot documentation