- Understand the needs that Spring Batch fulfills
- Understand the Spring Batch architecture
- Set up and configure a Spring Batch system (Spring Boot and Java config with review of XML-based)
- Write steps and jobs
- Create multi-step jobs, and multi-processor steps
- Understand ItemReaders and ItemWriters
- Use ItemReaders and ItemWriters to read flat files
- Use ItemReaders and ItemWriters for database access
- Be familiar with transaction characteristics and restarts in Batch systems
- Be familiar with Spring Batch support for Scalability / Large Data Sets
- Be aware of more advanced Spring Batch capabilities
Hands-On
many hands-on labs (minimum 50% of course)
Prerequisites
Working knowledge of Java programming and Spring programming
Supported Platforms
Standard: Java 11 and Eclipse IDE
Java Training Course Duration
2 Days
Java Training Course outline
Session 1: Review Spring/Boot Configuration Review
- Spring Architecture Overview
- Spring Configuration Review
- maven and Spring Boot Review
Session 2: Introduction to Spring Batch
- Overview and Architecture
- Spring Batch Hello World
- Item-Oriented Steps
- Additional Configuration Details
- XML Configuration
Session 3: Readers and Writers
- Overview
- Flat File
- Database
- Transactions and Restarts
Session 4: Scalability / Processing Large Data Sets
- Single-Process
- Multi-threaded Steps
- TaskExecutor, SimpleAsyncTaskExecutor, ThreadPoolTaskExecutor
- Parallel Steps
- Multi-Process
- Remote Chunking
- Partitioning