Added java config example