Updated docs around 4.0.0.M1 and added a link to Gitter channel

This commit is contained in:
Michael Minella
2017-01-06 10:46:11 -06:00
parent 26b02fb836
commit 48bffce6c0
3 changed files with 30 additions and 76 deletions

View File

@@ -1,3 +1,5 @@
<a href="https://gitter.im/spring-batch/Lobby?source=badge"><img src="https://badges.gitter.im/spring-projects/spring-batch.svg"/></a>
# Spring Batch [![build status](https://build.spring.io/plugins/servlet/buildStatusImage/BATCH-TRUNK)](https://build.spring.io/browse/BATCH-TRUNK)
Spring Batch is a lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems. Spring Batch builds upon the productivity, POJO-based development approach, and general ease of use capabilities people have come to know from the [Spring Framework](https://github.com/SpringSource/spring-framework), while making it easy for developers to access and leverage more advanced enterprise services when necessary.

View File

@@ -59,8 +59,11 @@
<year>2012</year>
<year>2013</year>
<year>2014</year>
<year>2015</year>
<year>2016</year>
<year>2017</year>
<holder>
GoPivotal, Inc. All Rights Reserved.
Pivotal, Inc. All Rights Reserved.
</holder>
</copyright>
<legalnotice>

View File

@@ -2,101 +2,50 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<chapter id="whatsNew">
<title>What's New in Spring Batch 3.0</title>
<title>What's New in Spring Batch 4.0</title>
<para>The Spring Batch 3.0 release has five major themes:</para>
<para>The Spring Batch 4.0 release has three major themes:</para>
<itemizedlist>
<listitem>
<para>JSR-352 Support</para>
<para>Java 8 Requirement</para>
</listitem>
<listitem>
<para>Upgrade to Support Spring 4 and Java 8</para>
<para>Dependencies re-baseline</para>
</listitem>
<listitem>
<para>Promote Spring Batch Integration to Spring Batch</para>
</listitem>
<listitem>
<para>JobScope Support</para>
</listitem>
<listitem>
<para>SQLite Support</para>
<para>Builders for <classname>ItemReaders</classname> and <classname>ItemWriters</classname></para>
</listitem>
</itemizedlist>
<section id="whatsNewJSR-352Support">
<title>JSR-352 Support</title>
<section id="whatsNewJava">
<title>Java 8 Requirement</title>
<para>JSR-352 is the new java specification for batch processing. Heavily inspired by Spring Batch, this
specification provides similar functionality to what Spring Batch already supports. However, Spring Batch 3.0
has implemented the specification and now supports the definition of batch jobs in compliance with the standard.
An example of a batch job configured using JSR-352's Job Specification Language (JSL) would look like below:
<para>Spring Batch has historically followed Spring Framework's baselines for both
java version as well as third party dependencies. With Spring Batch 4, the Spring
Framework version is being upgraded to Spring Framework 5. As such, the java
version requirement for Spring Batch is also increasing to Java 8.
</para>
<programlisting language="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;job id="myJob3" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0"&gt;
&lt;step id="step1" &gt;
&lt;batchlet ref="testBatchlet" /&gt;
&lt;/step&gt;
&lt;/job&gt;
</programlisting>
<para>See section <xref linkend="jsr-352"/> for more details.</para>
</section>
<section id="whatsNewPromoteSpringBatchIntegrationToSpringBatch">
<title>Promote Spring Batch Integration to Spring Batch</title>
<section id="whatsNewDependencies">
<title>Dependencies re-baseline</title>
<para>Spring Batch Integration has been a sub module of the Spring Batch Admin project now for a few years. It
provides functionality to better integrate the capabilities provided in Spring Integration with Spring Batch.
Specific functionality includes:</para>
<itemizedlist>
<listitem>
<para>Launching jobs via messages</para>
</listitem>
<listitem>
<para>Asynchronous <classname>ItemProcessors</classname></para>
</listitem>
<listitem>
<para>Providing feedback with information messages</para>
</listitem>
<listitem>
<para>Externalizing batch process execution via remote partitioning and remote chunking</para>
</listitem>
</itemizedlist>
<para>See section <xref linkend="springBatchIntegration"/> for details.</para>
<para>In order to continue to integrate with supported versions of the third party
libraries Spring Batch utilizes, Spring Batch 4 is updating the dependencies across
the board. The new dependency versions are in alignment with Spring Framework 5.
</para>
</section>
<section id="whatsNewUpgradeToSupportSpring4andJava8">
<title>Upgrade to Support Spring 4 and Java 8</title>
<section id="whatsNewBuilders">
<title>Provide builders for the ItemReaders and ItemWriters</title>
<para>With the promotion of Spring Batch Integration to be a module of the Spring Batch project, it has been updated
to use Spring Integration 4. Spring Integration 4 moves the core messaging APIs to Spring core. Because of
this, Spring Batch 3 will now require Spring 4 or greater.</para>
<para>As part of the dependency updates that have occurred with this major release, Spring Batch now supports being
run on Java 8. It will still execute on Java 6 or higher as well.</para>
</section>
<section id="whatsNewJobScopeSupport">
<title>JobScope Support</title>
<para>The Spring scope "step" used in Spring Batch has had a pivotal role in batch applications, providing late
binding functionality for a long time now. With the 3.0 release Spring Batch now supports a "job" scope. This
new scope allows for the delayed construction of objects until a Job is actually launched as well as providing
a facility for new instances for each execution of a job. You can read the details about this new bean scope
in the section <xref linkend="job-scope"/>.</para>
</section>
<section id="whatsNewSQLiteSupport">
<title>SQLite Support</title>
<para>SQLite has been added as a newly supported database option for the <classname>JobRepository</classname> by
adding job repository ddl for SQLite. This provides a useful, file based, data store for testing purposes.</para>
<para>Spring Batch 4 is providing a collection of builders for all of the <classname>ItemReaders</classname>
and <classname>ItemWriters</classname> that come with the framework. As of this release, builders for the
<classname>FlatFileItemReader</classname>, <classname>FlatFileItemWriter</classname>, <classname>JdbcCursorItemReader</classname>, and
<classname>JdbcBatchItemWriter</classname> are available. More information can be found in the javadoc
for Spring Batch.</para>
</section>
</chapter>