Spring Batch in Action
Arnaud Cogoluegnes, Thierry Templier, Olivier Bazoud
- 504 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Spring Batch in Action
Arnaud Cogoluegnes, Thierry Templier, Olivier Bazoud
About This Book
Summary Spring Batch in Action is an in-depth guide to writing batch applications using Spring Batch. Written for developers who have basic knowledge of Java and the Spring lightweight container, the book provides both a best-practices approach to writing batch jobs and comprehensive coverage of the Spring Batch framework.
About the Technology
Even though running batch jobs is a common task, there's no standard way to write them. Spring Batch is a framework for writing batch applications in Java. It includes reusable components and a solid runtime environment, so you don't have to start a new project from scratch. And it uses Spring's familiar programming model to simplify configuration and implementation, so it'll be comfortably familiar to most Java developers.
About the Book
Spring Batch in Action is a thorough, in-depth guide to writing efficient batch applications. Starting with the basics, it discusses the best practices of batch jobs along with details of the Spring Batch framework. You'll learn by working through dozens of practical, reusable examples in key areas like monitoring, tuning, enterprise integration, and automated testing.No prior batch programming experience is required. Basic knowledge of Java and Spring is assumed. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's Inside
- Batch programming from the ground up
- Implementing data components
- Handling errors during batch processing
- Automating tedious tasks
Table of Contents
PART 1 BACKGROUND
- Introducing Spring Batch
- Spring Batch concepts
- PART 2 CORE SPRING BATCH
- Batch configuration
- Running batch jobs
- Reading data
- Writing data
- Processing data
- Implementing bulletproof jobs
- Transaction management
- PART 3 ADVANCED SPRING BATCH
- Controlling execution
- Enterprise integration
- Monitoring jobs
- Scaling and parallel processing
- Testing batch applications
Frequently asked questions
Information
Part 1. Background
Chapter 1. Introducing Spring Batch
- Understanding batch applications in todayâs architectures
- Describing Spring Batchâs main features
- Efficiently reading and writing data
- Implementing processing inside a job with Spring Batch
- Testing a Spring Batch job
1.1. What are batch applications?
Figure 1.1. A typical batch application: system A exports data to flat files, and system B uses a batch process to read the files into a database.
- Large data volumeâ Batch applications must be able to handle large volumes of data to import, export, or compute.
- Automationâ Batch applications must run without user interaction except for serious problem resolution.
- Robustnessâ Batch applications must handle invalid data without crashing or aborting prematurely.
- Reliabilityâ Batch applications must keep track of what goes wrong and when (logging, notification).
- Performanceâ Batch applications must perform well to finish processing in a dedicated time window or to avoid disturbing any other applications running simultaneously.