fully javaConfig