Link to home
Start Free TrialLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

new to spring batch

hi guys

I have defined my spring batch job like this in my spring config file:

      <batch:job id="runBatchStockjob" restartable="false">
      <batch:step id="step">
      <batch:tasklet>
      	<batch:chunk reader="stockBatchReader" processor="stockBatchProcessor" writer="stockBatchWriter" 
      	commit-interval="50"/>
      </batch:tasklet>
      </batch:step>
      </batch:job>

Open in new window


How do i invoke/run the above batch process?
I am not using any server, just running individual java processes.
I have my  spring config file which contains my beans and the above batch job definition.

Any answers will be appreciated.
thanks.
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial