File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
EJB Certification (SCBCD/OCPJBCD)
Joined: Jul 02, 2004
Sep 08, 2008 23:56:00
We talk a lot about dependency injection in regard to
's, but does anyone have a good idea of how DI is implemented?
Anton Golovin<br /><i>firstname.lastname@example.org</i><br />SCJP, SCJD, SCBCD, SCWCD
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Sep 09, 2008 10:33:00
The container finds a matching resource with the same name. I would imagine the container does the lookup and other standard coding we'd see in a Service Locator, and poof, you have your object!
Hibernate Made Easy
What is WebSphere???
JSF 2.0 Made Easy
SCJA Certification Guides
I agree. Here's the link:
subject: Dependency-Injection Implementation.
Defination of Spring wiring
difference between Dependency Injection (DI) & Inversion of Control (IOC)
Inversion of control
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013