File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Dependency Injection for Java EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Dependency Injection for Java EE" Watch "Dependency Injection for Java EE" New topic

Dependency Injection for Java EE

fulton wilcox

Joined: Oct 03, 2012
Posts: 1
Hi all,

I was doing some reading on Java and I stumbled upon Dependency Injection. Can anyone give me an explanation for its purpose? Preferably in an easier way to understand.

edit: I have found several links to DI on StackOverflow and reddit. It seems like I already follow a format like this, but my understanding of it is unclear

Help would be appreciataed :-)
It is sorta covered in the JavaRanch Style Guide.
subject: Dependency Injection for Java EE
jQuery in Action, 3rd edition