Added java exemples