Spring Batch and MongoDB — Reading and Writing from Excel file

Eric Anicet
4 min readMay 7, 2021

In this story, I’ll explain you how to read and write an Excel file with Spring Batch using a custom reader and writer.

We are going to create a simple Spring boot application that demonstrates how to use Spring batch with mongoDB.

Prerequistes

  • Spring Boot 2.4
  • Maven 3.6.1.
  • JAVA 8.
  • Mongo 4.4.
  • Apache poi 4.1.2

Spring Batch Overview

--

--