Spring Batch

Spring Batch: Multiple Format Output Writer

Jonny Hackett Java, Spring, Spring Batch Leave a Comment

Being a strong advocate of Spring Batch, I’ve always talked about the notion of Spring Batch providing developers with a framework that allows them to focus on solving business needs. By doing so, it allows developers to not spend an inordinate amount of time solving all of the technical aspects to support the solution. To illustrate what I mean by …

Spring Batch

Introducing The Delegate Pattern

Rik Scarborough Java, Spring Batch Leave a Comment

Delegate: a person who is chosen or elected to vote or act for others – Merriam-Webster. Delegate pattern: In software engineering, the delegation pattern is a design pattern in object-oriented programming where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object – Wikipedia. Make things as simple as possible, but not simpler – Albert …


Making Spring Batch Groovy

Rik Scarborough Java, Microservices, Spring, Spring Batch, Technology Snapshot, Tutorial Leave a Comment

Here at Keyhole, we are very fond of Spring Batch. In many Java Enterprise environments, there is still a big need for automating moving data around. Spring Batch gives us a great head start on creating these batch processes. Note: if you’re in the area on Wednesday night (8/5/15), check out Keyhole Managing Partner David Pitt’s Spring Batch presentation at the …

Spring Batch

Spring Batch – Replacing XML Job Configuration With JavaConfig

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot 4 Comments

I recently assisted a client in getting up and running with a Spring Batch implementation. The team had decided to move forward with a JavaConfig-based configuration for their batch jobs instead of the traditional XML-based configuration. As this is becoming a more common approach to configuring Java applications, I felt it was time to update Keyhole’s Spring Batch series to show you how …

Spring Batch

Scaling Spring Batch – Step Partitioning

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 15 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 …

Spring Batch

Generating Large Excel Files Using Spring Batch, Part Three

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

While working for a client recently, I was given a small project to produce a report that would help reconcile differences in data that existed in four to five different database sources. The requirements specified a need to compare roughly 40 fields from each of these sources against each other, and to report the differences in MS Excel format, which …

Spring Batch

Getting Started With Spring Batch, Part Two

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 16 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 …

Spring Batch

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

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 …

Keyhole Team Creates New Open Source Framework

Keyhole Software Java, Keyhole, Keyhole Creations, Spring 2 Comments

At Keyhole Software, we are huge proponents of the benefits of open source software. Our team members enjoy contributing their creations to the development community. This week we are excited to announce the completion of an open source report writing framework for Spring Batch. Information: This report writing framework provides an easy and less complex way to create PDF column …