Scaling Spring Batch – Step Partitioning

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 18 Comments

We have talked about how to get up and running with Spring Batch in a few of previous articles. Now, we’re going to start discussing some of the strategies available for scaling Spring Batch. This article will focus on partitioning a step so that the step has several threads that are each processing a chunk of data in parallel. This …



Getting Started With Spring Batch, Part Two

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 17 Comments

Now that we’ve had a high level overview of some of the simple and basic features of Spring Batch, let’s dive into what it takes to get up and running. The main purpose of this quick and simple tutorial is to give you a starting point for exploring Spring Batch to see if you’d like to implement it for one …



Introducing Spring Batch, Part One

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 12 Comments

Have you ever heard someone say “Man I wish we had a toy like that when I was a kid! That would have been awesome!” For me, that’s usually when I’m wrapping the latest entry in Nerf’s arsenal for Christmas, someone’s birthday or any time my kids and I are running through the house attempting to shoot each other in …



Spring Batch Unit Testing and Mockito

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Testing 9 Comments

I have a huge fascination with reality TV shows in which something is created.  My favorite of this genre is the Chip Foose-led “Overhaulin” series that aired on TLC for several seasons. The premise of the show is that Chip and his team take someone’s old muscle car and completely restore the car to show-quality status within a week, and …