DI
-
Dependency Injection (DI)Framework/SPRING 2020. 3. 5. 19:24
1. Overview for dependency injection, Spring can automatically wire up your objects together. So basically what'll happen is that Spring will look for a class that matches a given property. And it'll actually match by type, so the type could be either the class or the interface. Once Spring finds a match, then it'll automatically inject it. Hence it's called Autowired. 2. Dependency Injection wi..
-
Spring Inversion of Control (IoC)Framework/SPRING 2020. 2. 6. 15:30
1. Overview Inversion of Control is a principle in software engineering by which the control of objects or portions of a program is transferred to a container or framework. The container will create the objects, wire them together, configure them, and manage their complete life cycle from creation till destruction. The responsibilities of IoC container are: Instantiating the bean Wiring the bean..
-
Spring FrameworkFramework/SPRING 2020. 2. 6. 13:26
1. Overview Check how to improve the reusability of SW, the Relationship between design pattern and framework, and Spring framework Components. 1.1 Plain Old Java Object (POJO) Objects which are no need to inherit specific parent or environment but only JVM. So MyServlet which extends HttpServlet and runs on Web Container is not POJO. 1.2 Portable Service Abstraction (PSA) Separate complex low-l..