Adrian's Dev Journal

  • 홈
  • 태그
  • 방명록

IOC 1

DI 와 IOC에 대해서

IOC란 무엇인가? IOC는 Inversion Of Control의 약자로 제어의 역전을 의미한다. 다음 예시로 설명을 해보려고 한다. PostService, PostRepository는 인터페이스이며 PostServiceImpl, PostRepositoryImpl은 각 인터페이스를 구체화 한 구체 클래스이다. PostServiceImpl은 PostRepository를 의존하고 있는 상황이다. [PostServiceImpl] public class PostServiceImpl implements PostService { private final PostRepository postRepository; public PostServiceImpl(PostRepository postRepository) { thi..

Spring 2023.04.05
이전
1
다음
더보기
프로필사진

백엔드 개발자가 배우고 기록하는 기술 블로그입니다.

  • 분류 전체보기 (60)
    • Spring (16)
    • 개발일지 (5)
    • Refactoring & CleanCode (3)
    • AWS (1)
    • Java (20)
    • CS 지식 (5)
    • 데브코스 (1)
    • DesignPatterns (2)
    • 회고 (6)
    • Gradle (1)

Tag

인프콘, 회고, AuthenticationSuccessHandler, 인프콘2023, refactoring, submodule, Test code, Collection Framework, Spring, 디자인패턴, 리팩터링, 객체지향 원칙, jdbctemplate, 데브코스, Spring REST Docs, Java, asciidoc, MethodReference, API문서화, restdocs,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :
GitHub

Copyright © Kakao Corp. All rights reserved.

티스토리툴바