Java Based Job queueing