spring batch - Why use job/step listeners instead of just two more steps/tasklets (one in the beginning and one the end)? -
since job listeners have callback methods executed before & after steps, can same thing achieved having step in beginning of steps , step in end? or instead of step listener, have 1 tasklet before tasklets , tasklet @ end of tasklets of step? different listeners can't done 2 more steps or tasklets? because listeners executed in case of failures or there other design logic & need fail see?
Comments
Post a Comment