aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "definitions about framework" Watch "definitions about framework" New topic
Author

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.

bryan
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.

Gavin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: definitions about framework