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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-02 18:28:15 +0000
Seen: 17 times
Last updated: May 02 '23
What is a multi module project in Spring-boot?
Can you rephrase the query about generating custom sequences using Spring Boot JPA?
The absolute view ID `/view` in Spring MVC Thymeleaf shows inconsistency, can you rephrase it?
What is the way to execute code once Spring Boot has started?
What is the process of redirecting to another host using Spring Cloud Gateway?
What could be the reason for having duplicate products in my requisition when using spring boot?