Implementing pipes with Spring Batch

Now that we have illustrated what Spring Batch is, we are going to implement the payroll file processing use case (as defined in the previous section) through the following steps:

  • Coding a process that imports payroll data from a CSV spreadsheet
  • Transforming the file tuples with a business class 
  • Storing the results in a database

The following diagram illustrates our implementation:

First, we are going to create a new, clean project, using the Spring initializer (https://start.spring.io), as we did in the previous section:

Remember to add the Batch reference to our project, like we did in the previous ...

Get Software Architecture with Spring 5.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.