title: advice on integration testing my dao layer
body: <p>I have a spring mvc application, and I am using jdbctemplate for my database Dao objects.</p>
  
  <p>How should I go about integration testing?</p>
  
  <p>Where should I put my integration testing files, is this layout correct:</p>
  
  <pre><code>/src/main/test/integration/...
  </code></pre>
  
  <p>or</p>
  
  <pre><code>/src/main/integration/...
  </code></pre>
  
  <p>How will this work, for my test cases, I should have a base class or some code in my setup that will run once before starting my testing where it loads the spring configuration/application context.</p>
  
  <p>How should I do this?</p>