working on java example
added java maven example