Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Spring Boot can wire both repositories and services. In fact, Spring Boot's auto-configuration and dependency injection allow for easy wiring of both repositories and services. However, Spring Boot provides extra support for repositories through its JPA and data access auto-configurations. This may make the process of wiring repositories simpler than wiring services if your application primarily involves data access or persistence.