title: How to configure EHcache for standalone Java program without using hibernate / spring interceptors?
body: <p>Can anyone please post an example to configure <code>Ehcache</code> for a standalone java application? </p>
  
  <p>I have the following simple requiremens: </p>
  
  <ul>
  <li>getting data from database,</li>
  <li>formatting that data and </li>
  <li>writing to file</li>
  </ul>
  
  <p>I am using <code>jdbctemplate.Query</code>, it is executing quickly but the retrieval from list is taking quite a while. <code>List</code> is holding large volume of data (resultset).</p>
  
  <p>Can anyone suggest how to overcome this problem?</p>