Google News
logo
Java Spring Boot - Interview Questions
What is a Spring boot starter?
Spring boot starter comprises of templates which provide a Rapid Application Development, spring boot starter contains a combination of all the relevant transitive dependencies.  
 
* Spring boot starter is a jar file which predominantly solves the auto-dependency resolution in a spring boot application. 
* Spring boot starter follows the unified pattern, like every dependency start with spring-boot-starter-X, where X will be the name of dependencies.  
* For instance, if we add the dependency like spring-boot-starter-web, the spring boot starter will internally resolve and download all the associated dependencies, add to the application. 
* Spring boot also checks and resolves the transitive dependencies internally.
 
Below are some of the popular Spring boot starters :
 
* Spring-boot-starter-web
* Spring-boot-starter-mvc
* Spring-boot-starter-security
* Spring-boot-starter-jpa
* Spring-boot-starter-tomcat
* Spring-boot-starter-jetty
* Spring-boot-starter-json
Advertisement