Oddjob 1.1 Released
Version 1.1. of Oddjob, the Open Source Task Automation Framework, is now available.
This release includes:
A new JSF AJAX Web Front End which replaces the old Struts version
Support for providing a job as a Callable as well as a Runnable.
Here's a Callable:
import java.util.concurrent.Callable;
public class HelloBean implements Callable<Integer> {
private String time;
@Override
public Integer call() throws Exception {
System.out.println("Hello at " + time + ".");
return 0;
}
public void setTime(String time) {
this.time = time;
}
@Override
public String toString() {
return "My Callable";
}
}And here it is running in Oddjob:

The ability to Force a Failed Job to Complete.
If a job fails and you work around it manually you can now force that job to comlete so dependent jobs can be triggered.
For more information please see http://rgordon.co.uk/oddjob
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)




