Dependency injection is a design technique where dependencies are injected into an object from the outside, instead of being created by the object itself on the inside. A dependency is an object that is needed by another object for that object to do its job. For instance, a BookingManager might need a DatabaseAccessObject in order to store a Booking in the database. Instead of creating the dependency - the DatabaseAccessObject, the BookingManager will have a DatabaseAccessObject injected into it from the outside. This dependency injection is typically performed by a dependency injection container.
While dependency injection may not be the silver bullet that solves all problems, dependency injection is still a nice tool in any developers tool belt. Check out the corresponding 10 texts in my dependency injection tutorial too, by clicking the link first in the description.
http://tutorials.jenkov.com/dependenc...
On this page of the site you can watch the video online Dependency Injection with a duration of hours minute second in good quality, which was uploaded by the user Jakob Jenkov 20 June 2010, share the link with friends and acquaintances, this video has already been watched 130,502 times on youtube and it was liked by 651 viewers. Enjoy your viewing!