This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes definitions about framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "definitions about framework" Watch "definitions about framework" New topic

definitions about framework

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
hi all,

i tried searching and reading up about dependency injection framework after google guice is released. i searched the wiki but still don't totally understand what it is.

take google guice for example, so , is it a new groups of classes to perform specific things?

i read from here and there is a list of framework below. are they also new libraries of java classes ( take Spring Framework for instance)

hope someone can clarify this for me.

Gavin Tranter
Ranch Hand

Joined: Jan 01, 2007
Posts: 333
Hi Bryan,
In general a framework is a set of resources, classes etc, that should enable you to focus on the task that requries solving and not the "plumbing".
How well they do this varies between frameworks and the pholisphy behind the framework.

Some frameworks are more general purpuse then others, some focus on a given task, for example websites, such as Spring MVC and Struts.

I think you probably should investigate Inversion Of Control too.
Dependancy Injection is an enablier for Inversion Of Control, where an external configuration is used to inject dependancies into a components, for example rather then ComponentX creating a DataAccessObject, it has a property of DataAccessObject.

The Inversion Of Control Container, takes a configuration that tells it construct ComponentX and a DataAccessObject, it then
tell Injections the DataAccessObject into ComponentX (usual though standard setter emthods).

Spring is probably the most famous Inversion Of Control Framework.

I agree. Here's the link:
subject: definitions about framework
It's not a secret anymore!