Spring/Spring(eng)1 What is DI(Dependency Injection), Why & How to use What DI(Dependency Injection): DI(Dependency Injection) is a core programming model supported by Spring Framework. Dependency is that one object uses another object. (depends on = uses) For example, if a QuestionController object uses a QuestionService object, The QuestionController object depends on the QuestionService object. public class QuestionController { private QuestionService questionSe.. 2022. 12. 9. 이전 1 다음