https://www.baeldung.com/spring-core-annotations org.springframework.beans.factory.annotation and org.springframework.context.annotation packages. * DI 관련 주석 @Autowired We can use the @Autowired to mark a dependency which Spring is going to resolve and inject. 생성자주입: class Car { Engine engine; @Autowired Car(Engine engine) { this.engine = engine; } } Setter injection: class Car { Engine engine; ..