Batch framework for Java