What are the types of Dependency Injection Spring supports?
Submitted by: Administrator► Setter Injection:
Setter-based DI is realized by calling setter methods on your beans after invoking a no-argument constructor or no-argument static factory method to instantiate your bean.
► Constructor Injection:
Constructor-based DI is realized by invoking a constructor with a number of arguments, each representing a collaborator.
Submitted by: Administrator
Setter-based DI is realized by calling setter methods on your beans after invoking a no-argument constructor or no-argument static factory method to instantiate your bean.
► Constructor Injection:
Constructor-based DI is realized by invoking a constructor with a number of arguments, each representing a collaborator.
Submitted by: Administrator
Read Online Spring Framework Job Interview Questions And Answers
Top Spring Framework Questions
☺ | What do you mean by Auto Wiring? |
☺ | What do you mean by Bean wiring? |
☺ | What are the advantages of Spring framework? |
☺ | How many modules are there in Spring? What are they? |
☺ | What are the different types of AutoProxying? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |