title: Parallel Item Writers in Spring batch
body: <p>I am fairly new to Spring batch framework.</p>
  
  <p>I am trying to read about 1 million records in reader with <code>commit-interval=10000</code> and in writer I need to do 2 things with the List of items.</p>
  
  <ol>
  <li>Store the list of items to DB</li>
  <li>Write few information from those items to a flat file.</li>
  </ol>
  
  <p>I am thinking these two tasks can be run in parallel, rather than writing sequential java code in writer class.</p>
  
  <p>What should be the best way to have two writers that operate in parallel and do their own tasks?</p>