This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dependency injection

 
Rejo Varghese
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know about dependency injection. I know that it is a part of Spring framework. but i wanna know if it can be used only in a MVC framework or can it be used for java applicaitons.

Thanks for any suggestion.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dependency Injection is now a prevalent part of developing all sorts of Java applications, both on the front end and the back end.
 
Rejo Varghese
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok....

So can you help me with some links to get to know about that in detail......
 
Babu Subburathinam
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rejo Varghese wrote:but i wanna know if it can be used only in a MVC framework or can it be used for java applicaitons.


Spring can be used in any application. The application does not have to be a web application.

Rejo Varghese wrote:
I want to know about dependency injection.


Learn from here.

 
Tekchand Prasad
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dependency injection is a style of object configuration in which an objects fields and collaborators are set by an external entity. In other words objects are configured by an external entity.

Dependency injection is an alternative to having the object configure itself.

Framwork using dependency Injection
Spring framwork
Jboss-seam(Using Bijection)
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17625
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rejo Varghese wrote:Hi,
I want to know about dependency injection. I know that it is a part of Spring framework. but i wanna know if it can be used only in a MVC framework or can it be used for java applicaitons.

Thanks for any suggestion.


Actually, my first exposure to dependency injection as a general design strategy wasn't in a GUI app at all. It was in the Apache Avalon Phoenix project, which we used to run batch processes. Avalon is long-gone now, but some of its components are still found in various other systems.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic