应该研究一下Spring Batch了

这不正是我想要的吗?

Spring Batch provides reusable functions that are essential in processing large volumes of records, including logging/tracing, transaction management,
job processing statistics, job restart, skip, and resource management. It also provides more advanced technical services and features that will enable extremely high-volume and high performance batch jobs through
optimization and partitioning techniques.

……

The Infrastructure provides the ability to batch operations together, and to
retry an piece of work if there is an exception

Spring Batch Admin provides a web-based user interface that features an admin console for Spring Batch applications and systems.

没有它,每次都要山寨一把:

The lack of a standard, reusable batch architecture has resulted in the proliferation of many
one-off, in-house solutions developed within client enterprise IT functions.

SpringSource and Accenture are collaborating to change this.

另外,它和SEDA也有关系:

Matt Welsh’s work shows that SEDA has enormous benefits over more rigid processing architectures, and messaging environments give us a lot of resilience out of the box. So we also want to enable a more SEDA flavoured execution environments, as well as supporting the more traditional ETL style approach.

链接:

1.
http://static.springsource.org/spring-batch/

2. SEDA:
http://www.eecs.harvard.edu/~mdw/proj/seda/

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.