study
너무 많은 내용이라, 블로그에 정리함
core reference : https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#spring-core
Spring IoC Container and Beans
https://blog.naver.com/gngh0101/221576302088
https://blog.naver.com/gngh0101/221590684880
https://blog.naver.com/gngh0101/221639046641
https://blog.naver.com/gngh0101/221683567520
https://blog.naver.com/gngh0101/221690000028
https://blog.naver.com/gngh0101/221691289433
https://blog.naver.com/gngh0101/222027480358
https://blog.naver.com/gngh0101/222020512119
https://blog.naver.com/gngh0101/222022197174
https://blog.naver.com/gngh0101/222040857815
https://blog.naver.com/gngh0101/222047805469
- 고전적인 xml를 이용한 빈 설정 방법
- @Configuration 을 이용한 빈 설정 방법
https://blog.naver.com/gngh0101/222363176425
https://blog.naver.com/gngh0101/222344239921
-
Singleton
-
Prototype
프로토타입 빈이 싱글톤 빈을 참조할 경우 문제가 없다.
하지만 싱글톤 빈이 프로토 타입 빈을 참조하면
프로토타입 빈이 초기 래퍼런스 값을 변경하지 않는다.
-> scoped-proxy, Object-Provider
Spring Expression Language의 줄인 말로 런타임 시점에 object graph 를
조회, 조작하는 강력한 언어이다.
- object graph : 객체들의 연관 관계, 정보를 보여주는 그래프
https://blog.naver.com/gngh0101/222044744634
2.4.0 이후부터 spring.profiles 이 아닌 spring.config.activate.on-profile 사용함
- 2.4.0 Migration Guide : https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-Config-Data-Migration-Guide
https://blog.naver.com/gngh0101/222195371984
https://blog.naver.com/gngh0101/222202365575
https://blog.naver.com/gngh0101/222208890915
https://blog.naver.com/gngh0101/222234252938
https://blog.naver.com/gngh0101/222445524716
https://github.com/hotire/spring-boot-webflux
https://blog.naver.com/gngh0101/222073112894
https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#testcontext-ctx-management-caching https://www.baeldung.com/spring-tests