Add Java DSL documentation with code samples