DEV Community

Discussion on: Best practice in SpringBatch

Collapse
 
__nikolamicic21 profile image
Nikola Micić • Edited

I would start first with Spring Batch Samples (github.com/spring-projects/spring-...).
After that, I would consult Spring Batch Reference Documentation (docs.spring.io/spring-batch/docs/c...).
There is also official SpringDeveloper YT channel where videos about Spring Batch could be found (youtube.com/user/SpringSourceDev/v...). Hope it helps!

Collapse
 
laurentld79 profile image
Laurent Dumas

Hi,
Thanks for sharing these resources. It sure helps. I am glad that you take time to answer my post. In fact, I'm also looking for organizing source kind of stuff. Like in a video, spring tells it is more convenient to create a static class like "StepConfiguration" which has reader/writer declaration, it is more readable for your job configuration class.
And too often, code in video are made for a presentation purpose, so a lot of code is in the same class.
I am new in this subject so I try things maybe I will make a post about this to see what people think (like I hate xml configuration, I prefer the annotation way). Maybe some are really obvious for spring expert but I prefer keep an objective eye on it.