Rapter1990 / SpringBatchProcessDbToCsv

Spring Boot Batch Processing Database to CSV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Batch Processing DB to CSV

Main Information

๐Ÿ“– Information

  • Spring Batch is a comprehensive batch framework which allows to batch processing for enterprise systems
  • These batch processing includes tasks like reading and writing to files, transforming data, reading and writing to databases and so on.
  • Here is the explanation of the project
    • Implement the process of batch covering reading all values from database and write all them into csv file

Used Dependencies

  • Core
    • Spring
      • Spring Boot
      • Spring Batch
      • Spring Web
      • Spring Data
        • Spring Data JPA
  • Database
    • h2
  • Lombok

๐Ÿ”จ Run the App

1 ) Download your project from this link shown below

    git clone https://github.com/Rapter1990/SpringBatchProcessDbToCsv

2 ) Go to the project's home directory shown below

    cd batchprocessingcsvtodatabase

3 ) Create a jar file though this command shown below

    mvn clean install

4 ) Run the project though this command shown below

    mvn spring-boot:run

Explore Rest APIs

Method Url Description Valid Request Body Valid Request Params Valid Request Params and Body No Request or Params
GET importDbToCsvJob Import db to csv Info

No Request or Params

    http://localhost:2121/batch/importuserjob

Screenshots

Click here to show the screenshots of project

Figure 1

Figure 2

About

Spring Boot Batch Processing Database to CSV


Languages

Language:Java 100.0%