What are Spring Boot Starters? Name some commonly used starters.

Beginner

Answer

Spring Boot Starters are dependency descriptors that include a set of convenient dependency management for specific functionality.
Common starters:

  • spring-boot-starter-web: Web applications with REST APIs
  • spring-boot-starter-data-jpa: JPA with Hibernate
  • spring-boot-starter-security: Spring Security
  • spring-boot-starter-test: Testing framework with JUnit, Mockito
  • spring-boot-starter-actuator: Monitoring and management
  • spring-boot-starter-data-redis: Redis data access
  • spring-boot-starter-mail: Email support