Java configuration