From 48bffce6c02bae86ac54ea3a0b9a4291dd503bdc Mon Sep 17 00:00:00 2001 From: Michael Minella Date: Fri, 6 Jan 2017 10:46:11 -0600 Subject: [PATCH] Updated docs around 4.0.0.M1 and added a link to Gitter channel --- README.md | 2 + src/site/docbook/reference/index.xml | 5 +- src/site/docbook/reference/whatsnew.xml | 99 ++++++------------------- 3 files changed, 30 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index 8232fccdc..1159331fc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # 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. diff --git a/src/site/docbook/reference/index.xml b/src/site/docbook/reference/index.xml index fadf6db3d..9a35bfdcf 100644 --- a/src/site/docbook/reference/index.xml +++ b/src/site/docbook/reference/index.xml @@ -59,8 +59,11 @@ 2012 2013 2014 + 2015 + 2016 + 2017 - GoPivotal, Inc. All Rights Reserved. + Pivotal, Inc. All Rights Reserved. diff --git a/src/site/docbook/reference/whatsnew.xml b/src/site/docbook/reference/whatsnew.xml index cb3f2bca8..093a582a0 100644 --- a/src/site/docbook/reference/whatsnew.xml +++ b/src/site/docbook/reference/whatsnew.xml @@ -2,101 +2,50 @@ - What's New in Spring Batch 3.0 + What's New in Spring Batch 4.0 - The Spring Batch 3.0 release has five major themes: + The Spring Batch 4.0 release has three major themes: - JSR-352 Support + Java 8 Requirement - Upgrade to Support Spring 4 and Java 8 + Dependencies re-baseline - Promote Spring Batch Integration to Spring Batch - - - - JobScope Support - - - - SQLite Support + Builders for ItemReaders and ItemWriters -
- JSR-352 Support +
+ Java 8 Requirement - 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: + 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. - - <?xml version="1.0" encoding="UTF-8"?> -<job id="myJob3" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0"> - <step id="step1" > - <batchlet ref="testBatchlet" /> - </step> -</job> - - - See section for more details.
-
- Promote Spring Batch Integration to Spring Batch +
+ Dependencies re-baseline - 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: - - - Launching jobs via messages - - - Asynchronous ItemProcessors - - - Providing feedback with information messages - - - Externalizing batch process execution via remote partitioning and remote chunking - - - - See section for details. + 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. +
-
- Upgrade to Support Spring 4 and Java 8 +
+ Provide builders for the ItemReaders and ItemWriters - 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. - - 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. -
- -
- JobScope Support - - 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 . -
- -
- SQLite Support - - SQLite has been added as a newly supported database option for the JobRepository by - adding job repository ddl for SQLite. This provides a useful, file based, data store for testing purposes. + Spring Batch 4 is providing a collection of builders for all of the ItemReaders + and ItemWriters that come with the framework. As of this release, builders for the + FlatFileItemReader, FlatFileItemWriter, JdbcCursorItemReader, and + JdbcBatchItemWriter are available. More information can be found in the javadoc + for Spring Batch.