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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -