Welcome to Easy Batch tutorials

Introduction

Tutorials are organised in 3 levels (Basic, Intermediate and Advanced). Each tutorial is contained in a separate package containing a README.md file that describes the tutorial and how to run it. The org.easybatch.tutorials.common package contains classes that are common to all tutorials. All examples use tweets data. Tweets are represented by the org.easybatch.tutorials.common.Tweet bean.

⚠️ Tutorials described in this page use the current stable version of Easy Batch: Maven Central

If you are looking for previous versions, please refer to the releases page.

Quick start

ℹ️ Prerequisites ⬇️ Download #️⃣ Build ▶️ Run
Java 7+ && maven 3+ Get source code $>mvn install $>mvn exec:java -P run[tutorial name]

💡 The src/main/resources/logging.properties can be used to show detailed logs and help you better understand how jobs work

Tutorials index

📜 Tutorial Level 🕘 Duration 🔗 Link
Hello world basic 2️⃣ minutes read ▶️ View
Word Count basic 2️⃣ minutes read ▶️ View
Transforming data from one format to another intermediate 5️⃣ minutes read ▶️ View
Populating a search database intermediate 5️⃣ minutes read ▶️ View
Importing data from a flat file into a database intermediate 5️⃣ minutes read ▶️ View
Exporting data from a database to a flat file intermediate 5️⃣ minutes read ▶️ View
Monitoring jobs with JMX advanced 5️⃣ minutes read ▶️ View
Scheduling jobs with Quartz advanced 5️⃣ minutes read ▶️ View
Configuring jobs with Spring advanced 5️⃣ minutes read ▶️ View
Writing a custom listener to contribute custom metrics advanced 🔟 minutes read ▶️ View
Writing a custom listener to restart a failed job advanced 🔟 minutes read ▶️ View
Writing a custom reader to support multi-line records advanced 🔟 minutes read ▶️ View
Processing data in parallel with multiple worker jobs advanced 🔟 minutes read ▶️ View
Processing data asynchronously using a JMS queue advanced 🔟 minutes read ▶️ View
Processing files in parallel based on their content advanced 🔟 minutes read ▶️ View