title: using ehcache to handle file processing
body: <p>I am new to <code>ehcache</code> concept and its usage. in my application i am loading many files using <code>java.io</code> ( lets say 100 at a time. it may be more than that) and process these files using multiple threads. </p>
  
  <p>from performance perspective i want to implement a caching mechanism for this. can anyone please let me know how should i do this and what will be the best practice ?</p>
  
  <p>PS - processing file steps 
  1. read the file
  2. create java file object.
  3. process the file.
  4. move the file to a different location.</p>
  
  <p>( i am using spring in my application)</p>
  
  <p>Thank you all in advance. </p>