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?
Another question, some guy tell me that I should not use JPA for an eCommerce website because I will make a lot of vulnerabilities
. Is that true? Thanks!
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.