![Gitter](https://badges.gitter.im/Join Chat.svg)
Easy Batch is a framework that aims to simplify batch processing with Java.
It addresses common tedious tasks such as reading, filtering, parsing and validating input data and lets you keep focus on your batch processing business logic.
-
Lightweight: The framework's core has no dependencies and hence a small memory footprint : a 80Ko jar file with a lot of features.
-
POJO-oriented development: Map records to your domain objects so you can still work with the Object Oriented aspect of Java.
-
Declarative data validation: Declare data validation constraints on your domain objects and let Easy Batch handle the validation code for you.
-
Easy to learn and use: Easy Batch uses a simple and natural data model and API. You can learn it easily and start using it quickly.
-
Statistics reporting: Easy Batch provides a simple and customizable reporting tools for common statistics including validation errors and processing time.
-
JMX monitoring: Monitor your batch execution and progress using JMX at runtime and in real time.
-
Parallel execution: Run multiple engine instances in parallel to speed up execution and reduce processing time.
https://speakerdeck.com/benas/easy-batch
- First batch job on Podcastpedia.org using Easy Batch
- Develop a Java batch application in less than 5 minutes using Easy Batch (in french)
- How I reduced my Java batch application’s code by 80% using Easy Batch
- Easy Batch vs Spring Batch : a Hello World comparison
- Easy Batch vs Spring Batch : a performance comparison
If you would like to use the snapshot version, you need to add the following repository in your pom.xml
file:
<repositories>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
Version 3.1.0 will be full of new goodies:
- Writers: Writers are record processors that write records to a data sink. This will save you a lot of boilerplate code and make writing ETL applications using Easy Batch a piece of cake!
- Chunk processing: Finally, you will be able to process records in chunks. This is a long waited feature that has been asked by a lot of users and we have taken into account your feedback.
- Hibernate support: There will be a new
HibernateRecordReader
andHibernateRecordWriter
to read and write data using Hibernate. - And more!
See all features planned for next version here.
If a feature is implemented, you can already try it by importing the snapshot version in your project. Please give us your feedback in case of any issue to make Easy Batch more stable.
Feel free to send us your feature request, we will add it to the list!
You are welcome to contribute to the project with pull requests on GitHub.
If you believe you found a bug, please use the issue tracker. It would be great to attach a JUnit test that fails with the current version. And you will be an awesome contributor if you send a pull request with a patch that fixes the bug!
For any further question, you can use the forum or chat with the team on Gitter.
- ammachado
- anandhi
- chellan
- gs-spadmanabhan
- imranrajjad
- jawher
- jlcanibe
- natlantisprog
- nicopatch
- nihed
- xenji
Thank you all for your contributions!
Many thanks to JetBrains for providing a free license of IntelliJ IDEA to kindly support the development of Easy Batch.
Many thanks to YourKit, LLC for providing a free license of YourKit Java Profiler to kindly support the development of Easy Batch.
Many thanks to CloudBees for providing a free Jenkins service to support continuous integration for open source projects.
Easy Batch is released under the MIT License:
The MIT License (MIT)
Copyright (c) 2015 Mahmoud Ben Hassine ([email protected])
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.