목록2022/08/12 (1)
Developer_Neo
[Spring] - IOC/DI, AOP, PSA란?
스프링 Framework의 3대 핵심 개념을 알아보자 1. IOC/DI (Inversion of Control/Dependency Injection) 1 - 1. IOC (Inversion of Control) 제어의 역전이라는 의미이다. 즉, 애플리케이션 흐름의 주도권을 Spring이 갖는다라는 것이다. 위의 말을 풀어서 설명하면, 우리가 알고리즘 문제를 풀때 DFS, BFS에 해당하는 메서드를 따로 작성하고 자바를 기준으로 main문에 적어서 작동시킨다. 하지만 IOC는 이것이 아니라 우리가 DFS, BFS에 해당하는 메서드를 적어 놓기만 하면, 알아서 해당 메서드 호출 주도권을 우리가 아닌 프로그램이 가진다라는 것이다. 또, 클래스 측면에서 보면, 하위 클래스에서 구현한 메서드들이 상위클래스에게 제..
Spring
2022. 8. 12. 11:47