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