Simple java that invokes BPM API