Inflearn Community Q&A
@Configuration
Written on
·
294
0
안녕하세요 항상잘듣고있습니다.
다름이아니라
AppConfig클래스를 @Configuration 애너테이션을 이용하지않고
@Bean만 사용하여도 스프링 컨테이너에 스프링 빈으로 잘 등록되어
적용이되는 걸 확인했습니다.
그렇다면 @Configuration이 스프링의 설정 정보라는 의미인데 안써도 @Bean 메서드의 반환 객체가 스프링컨테이너에 잘등록되는건 @Configuration이 생략이 되기때문인가요?
springoop
Quiz
What are the problems that easily occur when client code directly creates the object it wants to use with the `new` keyword?
Compile error occurs.
When requirements change, client code needs to be modified.
Object serialization becomes impossible.
Multithreading problems occur.
Answer 2
1
1





