Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "spring batch"
-
Many of you who have a Windows computer may be familiar with robocopy, xcopy, or move.
These functions? Programs? Whatever they may be, were interesting to me because they were the first things that got me really into batch scripting in the first place.
What was really interesting to me was how I could run multiples of these scripts at a time.
<storytime>
It was warm Spring day in the year of 2007, and my Science teacher at the time needed a way to get files from the school computer to the hard-drive faster. The amount of time that the computer was suggesting was 2 hours. Far too long for her. I told her I’d build her something that could work faster than that. And so started the program would take up more of my time than the AI I had created back in 2009.
</storytime>
This program would scan the entirety of the computer's file system, and create an xcopy batch file for each of these directories. After parsing these files, it would then run all the batch files at once. Multithreading as it were? Looking back on it, the throughput probably wasn't any better than the default copying program windows already had, but the amount of time that it took was less. Instead of 2 hours to finish the task it took 45 minutes. My thought for justifying this program was that; instead of giving one man to do paperwork split the paperwork among many men. So, while a large file is being copied, many smaller files could be copied during that time.
After that day I really couldn't keep my hands off this program. As my knowledge of programming increased, so did my likelihood of editing a piece of the code in this program.
The surmountable amount of updates that this program has gone through is amazing. At version 6.25 it now sits as a standalone batch file. It used to consist of 6 files and however many xcopy batch files that it created for the file migration, now it's just 1 file and dirt simple to run, (well front-end, anyways, the back-end is a masterpiece of weirdness, honestly) it automates adding all the necessary directories and files. Oh, and the name is Latin for Imitate, figured it's a reasonable name for a copying program.
I was 14, so my creativity lacked in the naming department >_<1 -
Eli5: senior dev here, 18 years experience in tech. I don’t get why spring boot/batch is so highly rated. I absolutely hate it. Please tell what I’m missing?4
-
Recently joined a company (as a fresher), don't even know java spring but have been assigned user stories to be done in java spring batch. I know how to do my story normally in java but in batch it's like a nightmare.I am just unable to do it and today on my way back home,I started questioning if i am good at coding or not....Never felt so low about myself...
-
Not quite sure I followed the logic of the tech lead when he explained. I've never felt this "idk wtf in coding" feeling before.
-
Ok so i Don't know spring and i have been asked to work on spring batch.So should i start learning directly from batch or should i go with spring first and then goto spring batch?
-
Any good free video tutorial for java spring batch which includes the coding part and not only the conceptual one?Any help will be appreciated..
-
Spring batch is saying Job Execution failed... But all the steps completed without errors.
So why did it fail?
Googled all afternoon but can't find anything... And I don't usually use Batch.... Just debugging another issue...