Added first Java example to the documentation.