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
- circuitbreaker
- webflux
- java
- Kotlin
- Class Loader
- try-catch
- jetbrain
- execution engine
- closeable
- feign
- 코딩테스트
- intelij
- 람다표현식
- zipWith
- tcp
- Hotspot VM
- AutoCloseable
- try-catch-finally
- Runtime data area
- 4-way-handshake
- GC
- optional
- n+1
- 날짜쿼리
- springboot
- jvm
- try-with-resources
- resilience4j
- 동작방식
- wagon-ssh
Archives
- Today
- Total
목록동작방식 (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