Finished example for java config
Updated dependency to 0.6.6