title: Best practice to organize service,service implementation and repository in a spring boot application
body: <p><a href="https://i.stack.imgur.com/caVKv.png" rel="noreferrer">Sample project structure that can be found in most of the appliations</a><br>
  In most of the spring boot applications there are JPA repository, service and service implementation. Can anybody explain the pros and cons of<br></p>
  
  <ol>
  <li>Just using repository only when needed<br></li>
  <li>Using service class and it's application.<br></li>
  <li>Use service interfaces and use the implementation.</li>
  </ol>
  
  <p>Different blog posts have different explanations. Seeking for an expert experience.</p>