adding web flow example for java