Skip to content

Commit dc1a5fc

Browse files
committed
BATCH-2191: Updated road map section of maven site
1 parent 8847719 commit dc1a5fc

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

src/site/apt/index.apt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
------
22
Spring Batch
33
------
4-
Dave Syer, Scott Wintermute
4+
Dave Syer, Scott Wintermute, Michael Minella
55
------
6-
March 2007, May 2007
6+
March 2007, May 2007, March 2014
77

88
Introduction
99

@@ -39,11 +39,13 @@ Introduction
3939

4040
The framework is oriented around application developers not needing to know any details of the framework - there are a few application developer interfaces that can be used for convenient construction of data processing pipelines, but apart from that we support as close to a POJO programming model as is practical. This is similar to the approach taken in Spring Core in the area of DAO implementation.
4141

42-
Spring Batch version 1.x was targeted at Java 1.4 and single-process, possibly multi-threaded execution. Spring Batch 2.0 is a Java 5 only release, using all available language features with no compromises for backward compatibility with Java 2. We think this will provide a significantly improved programming model for batch application developers.
42+
Spring Batch version 2.2.x was targeted at Java 6 with no compromises made to support earlier versions of Java. Spring Batch 3.0 also targets Java 6, however it has been developed to support language features through Java 8.
4343

44-
Framework tools for scaling to multiple processes are available in Spring Batch 2.0. These provide advanced technical services and features to enable extremely high-volume and high performance batch jobs though proven optimization and clustering techniques. An SPI is provided with a simple implementation that works in a single process (multi-threaded). Various remoting and grid technologies can be used to implement the same SPI in a multi-process, clustered environment.
44+
Standardization of batch processing in the java space has occurred via {{{https://jcp.org/en/jsr/detail?id=352}JSR-352}}. Spring was a major contributor to this JSR and has since implemented this specification in Spring Batch.
4545

46-
Matt Welsh's work shows that {{{http://www.eecs.harvard.edu/~mdw/proj/seda/}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. The key to unlocking the programming model is {{{http://projects.spring.io/spring-integration/}Spring Integration}}, where the choice of transport and distribution strategy can be made as late as possible. The same application code could be used in principle for a standalone tool processing a small amount of data, and a massive enterprise-scale bulk-processing engine.
46+
Framework tools for scaling to multiple processes have been available since Spring Batch 2.0, however additional components that help facilitate multi-process scalability previously found in Spring Batch Admin have been moved into Spring Batch as part of the 3.0 release.
47+
48+
Future work in Spring Batch will focus on simplification of it's use as well as research into new use cases including pipelining and big data.
4749

4850
* Background
4951

src/site/docbook/reference/jsr-352.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@
5656
<para><programlisting>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
5757
&lt;beans xmlns="http://www.springframework.org/schema/beans"
5858
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
59-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
60-
http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd"&gt;
59+
xsi:schemaLocation="http://www.springframework.org/schema/beans
60+
http://www.springframework.org/schema/beans/spring-beans.xsd
61+
http://xmlns.jcp.org/xml/ns/javaee
62+
http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd"&gt;
6163

62-
&lt;!-- Bean defined that references an implementation of the javax.batch.api.Batchlet interface --&gt;
64+
&lt;!-- javax.batch.api.Batchlet implementation --&gt;
6365
&lt;bean id="fooBatchlet" class="io.spring.FooBatchlet"&gt;
6466
&lt;property name="prop" value="bar"/&gt;
6567
&lt;/bean&gt;
@@ -75,7 +77,7 @@
7577

7678
<para>The assembly of Spring contexts (imports, etc) works with JSR-352 jobs just as it would with any other
7779
Spring based application. The only difference with a JSR-352 based job is that the entry point for the
78-
context definition will be the job definition found in /META-INF/batch-jobs/</para>
80+
context definition will be the job definition found in /META-INF/batch-jobs/.</para>
7981

8082
<para>To use the thread context class loader approach, all you need to do is provide the fully qualified class
8183
name as the ref. It is important to note that when using this approach or the batch.xml approach, the class
@@ -165,13 +167,13 @@
165167
<section id="jsrProcessingModels">
166168
<title>Processing Models</title>
167169

168-
<para>JSR-352 provides the same two basic processing models that Spring Batch does</para>
170+
<para>JSR-352 provides the same two basic processing models that Spring Batch does:</para>
169171
<para>
170172
<itemizedlist>
171173
<listitem>
172174
<para>Item based processing - Using an <classname>javax.batch.api.chunk.ItemReader</classname>, an
173175
optional <classname>javax.batch.api.chunk.ItemProcessor</classname>, and an
174-
<classname>javax.batch.api.chunk.ItemWriter</classname></para>
176+
<classname>javax.batch.api.chunk.ItemWriter</classname>.</para>
175177
</listitem>
176178
<listitem>
177179
<para>Task based processing - Using a <classname>javax.batch.api.Batchlet</classname>
@@ -186,8 +188,8 @@
186188
<title>Item based processing</title>
187189
<para>Item based processing in this context is a chunk size being set by the number of items read by an
188190
<classname>ItemReader</classname>. To configure a step this way, specify the
189-
<classname>item-count</classname> and optionally configure the <classname>checkpoint-policy</classname>
190-
as item (this is the default).
191+
<classname>item-count</classname> (which defaults to 10) and optionally configure the
192+
<classname>checkpoint-policy</classname> as item (this is the default).
191193
<programlisting>...
192194
&lt;step id="step1"&gt;
193195
&lt;chunk checkpoint-policy="item" item-count="3"&gt;

0 commit comments

Comments
 (0)