title: File processing on two different machine using spring batch
body: <p>My file processing scenario is ,</p>
  
  <pre><code> read input file -&gt; process -&gt; generated output file
  </code></pre>
  
  <p>but i have to two physically different machines which are connected to one storage area where i receive all the input files and one database server,There are two application servers running on these machine(1 on each server).</p>
  
  <p><img src="https://i.stack.imgur.com/5kuTy.jpg" alt="enter image description here"></p>
  
  <p>so how can i use spring batch to process input files on both these application server parallelly ? i mean if there are 10 files the 5 on server1 (P1) and 5 on (P2) ,can it be done ? </p>