I am a bit confused with the explanations of the Dependency Injection. Can anyone please explain the IOC or dependency Injection concept with an example or point me to some good links where I can get a clear picture of the same and how it's used in the struts 2.0 framework(probably with some live examples).