Add simple java example application.
Add license headers to example application.
Merge pull request #143 from wfarner/wfarner/pingpong

Add simple java example application.