Sample answer: "A @Configuration class is proxied with a CGLIB subclass. So when one @Bean method calls another, it returns the same singleton, not a new object. @Bean methods in a normal class, or with proxyBeanMethods=false, run in 'lite' mode: a plain factory method call with no interception. Lite mode starts faster, but inter-bean calls create new instances."
Hard
java
spring