This project is a Spring Boot developed batch processing application, using Spring Batch for the management and execution of batch jobs. It is designed to be a basic and extensible example of a batch job, capable of processing both CSV and Excel files.
- Java 21
- Maven
- Oracle Database (or any other database of your choice)
Configure the database connection in src/main/resources/application.properties before running the application.
- Spring Boot Starter Batch: Integration of Spring Batch.
- Spring Boot Starter Data JPA: Database access.
- Spring Boot Starter Web: RESTful web services.
- Lombok: Reducing boilerplate in models and logs.
- Apache POI: Handling Excel files.
- Ehcache: Caching.
- Hibernate JCache: Integration of JPA and Ehcache.
- OpenCSV: Reading and writing CSV files.
Run the project with:
mvn spring-boot:run
- src/main/java: Source code.
- src/main/resources: Configuration files and resources.
- src/test/java: Project tests.
- Run tests with::
mvn testFor further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Batch
- Spring Web
- Spring Data JPA
- Spring Boot DevTools
The following guides illustrate how to use some features concretely:
- Creating a Batch Service
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Accessing Data with JPA
Enrique Valdivia
This project is under the MIT License. You are free to use and modify it, as long as you acknowledge Enrique Valdivia as the original creator.
Customize and expand this project according to the needs of your application.