A pilot job framework written in Java