Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- optional
- Class Loader
- closeable
- java
- zipWith
- intelij
- try-catch-finally
- try-with-resources
- tcp
- wagon-ssh
- AutoCloseable
- 동작방식
- webflux
- jetbrain
- springboot
- 4-way-handshake
- 날짜쿼리
- Runtime data area
- 코딩테스트
- execution engine
- feign
- resilience4j
- jvm
- circuitbreaker
- Hotspot VM
- try-catch
- Kotlin
- GC
- 람다표현식
- n+1
Archives
- Today
- Total
목록Dependency Injection (1)
JuBin's personal study blog
[Spring] Dependency Injection
의존성 주입(Dependency Injection)이란?SpringFramework에서 지원하는 3대 핵심 프로그래밍 모델 요소(AOP, DI, IOC) 중 하나로, 객체 간의 관계(의존성)를 직접 생성해서 사용하는것이 아니라, 외부(Spring Container(DI Container))에서 관리되는 Bean을 런타임에 동적으로 주입 시켜주는 방식 입니다.의존성 주입이 필요한 이유public class Store { private Pencil pencil; public Store() { this.pencil = new Pencil(); }}문제점Store Class와 Pencil Class의 관계가 강결합 되어있다.(Pencil이 Store에 의존적이다.)두 Class가 ..
Spring
2024. 4. 28. 18:28