Sample project structure that can be found in most of the appliations
In most of the spring boot applications there are JPA repository, service and service implementation. Can anybody explain the pros and cons of
- Just using repository only when needed
- Using service class and it's application.
- Use service interfaces and use the implementation.
Different blog posts have different explanations. Seeking for an expert experience.