This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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 :-)
I agree. Here's the link:
subject: Dependency Injection for Java EE
Similar Threads
* Welcome Dhanji Prasanna
Can't access remote Sessionbean
Pluggable Components
passing beans..
Why annotations and Dependency Injection are not part of SCJP 6 ?