Presentation: Enterprise Batch Processing with Spring Batch 2.x
Download Full Presentation
Batch processing is a critical aspect of many organizations. Batch jobs can be complicated to do well. Spring Batch 2 can make it easier. During this talk, we will look at the basic concepts of Spring Batch. We will look at the difference between item oriented processing and chunk oriented processing. We will cover the concepts of reading, processing, and writing items. Spring Batch makes testing easy using available open source tools and, since it uses Spring’s dependency injection framework, isolating units of work and mocking are second nature. After an overview of the Spring Batch basics, we will dive right into non-trivial jobs built in Spring Batch. We will see them run, and walk through the configuration and source code. We will see implementations of many of Spring Batch’s key features.
Grails has grown in the last few years from a framework designed to quickly develop and deploy new web applications to being a critical tool for developing production ready enterprise applications. Being built upon Spring, Grails can utilize enterprise ready and proven technologies such as Spring Batch 2 to accelerate development by quickly integrating existing technology and configurations into new applications. In this part of the talk, we will explore the integration of Spring Batch 2 into a Grails application using the Grails Spring Batch plugin. We will review the various configurations options that the plugin exposes by default, how to extend the plugin, and how to reduce Spring Batch job configuration verbosity by using Groovy DSL instead of XML.