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

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -