Polish up the Java Client example
Merge pull request #213 from zhongjiewu/better-example

Polish up the Java Client example