Addition of Java Sample App

For issue: shippable/pm#812