Spring Batch is a framework for batch processing that deals with large amounts of data. Wagby can call classes created for Spring Batch.
Spring Batch is an open source framework with the following features.
In other words, it is suitable for cases where it is necessary to control redo processing at error and conditional branching in batch processing dealing with large amounts of data.
The developer learns the Spring Batch framework and creates a batch program that conforms to that specification.For details of programmingOfficial sitePlease refer to.
Wagby ships Spring Batch framework.You can search and display the job status of Spring Batch from Wagby's management processing menu.
By pressing the button, we prepared a sample that calls the Java program running on the Spring Batch framework.(The specific code will be explained later.)
When executed, a message is output to the console and the batch program is terminated.
This sample retrieves Customer from the database using the CustomerService automatically generated by Wagby and displays it one by one on the screen.Details of the code are explained on the next page.
After executing the batch program developed to operate with the Spring Batch framework, you can check the job execution status from the "management processing> batch job" menu.
When one batch program is executed, the result is stored in "Batch job instance".I will search for this.
The batch job instance ID is numbered by Spring Batch.
You can check "Batch job execution result" from the detail screen."Creation time" "start time" "end time" "status" "end code" is prepared."COMPLETED" means normal termination.
Furthermore, you can check "Batch job execution details" "Batch job execution parameter" "Batch step execution" information.
On the "Batch step execution" detail screen, you can check information such as commit count, read count, and write count.