Answer the question
In order to leave comments, you need to log in
What is the difference between dependency injection by reference or by value?
The question is about the Spring Framework. You can inject dependencies, for example, into some service, by ref="" , or you can by value="". In what cases should one or the other method be used?
Correct me if I misunderstood something.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question