Introduction to Spring Batch and springbatch

Source: Internet
Author: User

Introduction to Spring Batch and springbatch

Spring Batch is a lightweight, fully Spring-oriented Batch Processing framework that can be applied to a large number of enterprise-level data processing systems. Based on POJO and the well-known Spring framework, Spring Batch makes it easier for developers to access and use enterprise-level services. Spring Batch provides a large number of repeatable data processing functions, including logging/tracing, transaction management, job Processing and Statistics restart, skipping, and resource management.

Business Solution:

1. batch processing is submitted on a regular basis.

2. Parallel batch processing: parallel processing.

3. Enterprise message-driven processing

4. Large-scale parallel processing

5. Manual or scheduled restart

6. Partial processing: Skip the record (for example, rollback)

Technical objectives:

1. Using Spring programming model: enables programmers to focus on business processing and allows Spring framework to manage processes.

2. clearly separate the execution environment and application of batch processing.

3. provides core and common interfaces.

4. Provides an out of the box simple default core execution interface.

5. Provides configuration, custom, and extension services in the Spring framework.

6. All existing core services can be replaced and expanded without affecting the base layer.

7. A simple deployment mode is provided to build an independent Jar file using Maven.

Structure of Spring Batch:

 

This layered structure has three important components: application layer, core layer, and infrastructure layer. The application layer contains all batch processing jobs and uses the Spring framework to manage customized code by programmers. The core layer includes the core classes required for Batch startup and control, such as jobluncher, Job, and step. The application layer and core layer are built on the basic architecture layer. The basic architecture layer provides common read (ItemReader), write (ItemWriter), and services (such as RetryTemplate: retry module. Can be used by the application layer and core layer ).

 

 

Author: lone traveler Source: http://www.cnblogs.com/gulvzhe/if this article shows you what you have, click the [recommendation] in the lower right corner.
If you have any comments or suggestions for this article, please leave a message, even if it is a brick (^_^ )!
You are welcome to reprint it. Please indicate the source!
Thank you for reading this article. Please follow your blog!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.