| |
GeekInterview.com > Interview Questions > J2EE > Spring
| Print | |
Question: dependency injection
Answer: what is dependency injection ?? |
| May 05, 2008 13:55:39 |
#3 |
| Karuna Reddy |
J2EE Expert Member Since: June 2007 Total Comments: 38 |
RE: dependency injection |
| The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created. You don't directly connect your components and services together in code but describe which services are needed by which components in a configuration file. |
| |
Back To Question | |