img
Figure 20-2. Importing the sample project
Introducing Spring Batch
Started in 2007, the Spring Batch project has become more and more popular for developing batch jobs
in Spring applications. It's a collaborative effort between SpringSource and Accenture, and its initial
objective was to develop a standard template and framework for implementing and executing various
kinds of batch jobs in an enterprise environment. In version 2, Spring Batch became much more mature
as changes were introduced to greatly improve the performance and support of many different kinds of
policies (for example, skipping error records, retry, restart, parallel execution, and so on) in batch job
execution. In the following sections, we will look at the fundamental concepts of the Spring Batch
project, including the main flow and processing of a batch job, the infrastructure and metadata, and the
main execution policies all provided by Spring Batch out of the box.
Batch Job Flow and Process
Every enterprise application requires some sort of batch processing that performs business logic on a
large set of information. The following are some examples of batch jobs:
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home