Migration guide updated

This commit is contained in:
dsyer
2008-03-03 18:13:23 +00:00
parent 379f2fe826
commit d6a5e6bbd7
2 changed files with 3 additions and 4 deletions

View File

@@ -13,9 +13,9 @@ Updating Spring Batch jobs from 1.0.0.m4 to 1.0.0.m5 framework
* Tasklet's role has changed - It is no longer called iteratively, but is now dedicated for tasks that are not natural to split into read-write phases (e.g. calling stored procedure or system command). Readers and writers are now typically injected into (ItemOriented)Step. See Tasklet and TaskletStep javadoc for more details.
* Step scope removed - lifecycle of readers and writers explicitly handled by Step.
* Step scope removed - lifecycle of readers and writers explicitly handled by Step. They need to be registered for the lifecycle callbacks with the step. This is automatic if using one of the new step factory beans, but only for the directly injected reader and writer. Any indirect dependencies need to be registered separately (using the streams property of the factory bean).
* One applicaton context for job rather than parent container and child job context. CommandLineJobRunner requires only one xml file location.
* When launching from command line there is one applicaton context for job rather than parent container and child job context. CommandLineJobRunner requires only one xml file location. It is recommended to use a new ApplicationContext per job execution for other use cases involving launching multiple jobs in a single VM. The JMX demo in the samples shows this in practice.
* SimpleFlatFileItemReader and DefaultFlatFileItemReader merged into FlatFileItemReader

View File

@@ -31,8 +31,7 @@
<item name="Getting Started" href="getting-started.html"/>
<item name="FAQ" href="faq.html"/>
<item name="Changelog" href="changelog.html"/>
<item name="Migrating M2 to M3" href="migration/1.0-m2-m3.html"/>
<item name="Migrating M3 to M4" href="migration/1.0-m3-m4.html"/>
<item name="Migrating3" href="migration/index.html"/>
<item name="Downloads" href="downloads.html"/>
</menu>
<menu ref="modules"/>