- Spring DI - Discussion
- Spring DI - Useful Resources
- Spring DI - Quick Guide
- Spring DI - Non-Static Factory
- Spring DI - Static Factory
- Spring DI - Autowiring Constructor
- Spring DI - Autowiring ByType
- Spring DI - Autowiring ByName
- Spring DI - Autowiring
- Spring DI - Map Ref Setter
- Spring DI - Map Setter
- Spring DI - Collection Ref Setter
- Spring DI - Collections Setter
- Spring DI - Inner Beans Setter
- Spring DI - Setter Based
- Spring DI - Map Ref Constructor
- Spring DI - Map Constructor
- Spring DI - Collection Ref Constructor
- Spring DI - Collections Constructor
- Spring DI - Inner Beans Constructor
- Spring DI - Constructor Based
- Spring DI - Create Project
- Spring Dependency Injection
- Spring DI - IOC Containers
- Spring DI - Environment Setup
- Spring DI - Overview
- Spring DI - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Spring DI Tutorial
The technology that Spring is most identified with is the Dependency Injection (DI) flavor of Inversion of Control. The Inversion of Control (IoC) is a general concept, and it can be expressed in many different ways. Dependency Injection is merely one concrete example of Inversion of Control.
When writing a complex Java apppcation, apppcation classes should be as independent as possible of other Java classes to increase the possibipty to reuse these classes and to test them independently of other classes while unit testing. Dependency Injection helps in gluing these classes together and at the same time keeping them independent.
In this tutorial, we ll cover all the ways of Dependency Injection in Spring framework which helps in solving the common problems developers/users face in spring framework based apppcations.
Audience
This tutorial is designed for Java programmers with a need to understand the Spring framework in detail along with its architecture and actual usage. This tutorial will bring you at an intermediate level of expertise, from where you can take yourself to higher levels of expertise.
Prerequisites
Before proceeding with this tutorial, you should have a good understanding of Java programming language.
Advertisements