Adding java samples.

This adds the Java samples. I suppose some Java gurus could inspect this and maybe. The goal was to compare common Java and in building a web application GWT. Running it is much easier to preview. :)

Not sure what to think about the changes to files below. Is there something I need to fix or change regarding these files?
- synonyms.dart.js
- synonyms.dart.js.map