title: Spring and MVC proper project structure
body: <p>I'm developing Swing standalone application using Maven. I try to follow MVC pattern. I'm confused with my project structure. I have something like this:</p>
  
  <pre><code>/src/main/java/myName/appName             
  /src/main/java/myName/appName/model       
  /src/main/java/myName/appName/view
  /src/main/java/myName/appName/controller
  </code></pre>
  
  <p>Now I want to incorporate Spring framework, what makes me place somewhere DAO and BO interfaces and implementations. I have read this article <a href="http://www.mkyong.com/spring/maven-spring-hibernate-annotation-mysql-example/">link</a> and the suggested project structure does not suit mine. What crosses my mind is to add this:</p>
  
  <pre><code>/src/main/java/myName/appName/dao
  /src/main/java/myName/appName/bo
  </code></pre>
  
  <p>The content of dao directory would look like this (with Client and Customer classes in model directory):</p>
  
  <pre><code>/src/main/java/myName/appName/dao/ClientDAO.java
  /src/main/java/myName/appName/dao/ClientDAOImpl.java
  /src/main/java/myName/appName/dao/CustomerDAO.java
  /src/main/java/myName/appName/dao/CustomerDAOImpl.java
  </code></pre>
  
  <p>Is this bad? I want to learn good practices.</p>