Added some Java examples