wood burning stoves 2.0*
The moose likes General Computing and the fly likes Technology vs framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Technology vs framework" Watch "Technology vs framework" New topic
Author

Technology vs framework

SrinivasaRao Somu
Greenhorn

Joined: Aug 25, 2006
Posts: 1
What is the difference between Technology and Framework?
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Hi SrinivasaRao,

A Framework is a set of class, interfaces and what have you to help you get your job done. For example, Struts is a framework which emphazises the Front Controller Pattern for the Servlet Technology model, which has a bunch of tags and class which you can use to create the Presentation tier of a web based application.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moved to general computing


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Frameworks often use Inversion of Control, also known as the Hollywood "don't call us, we'll call you" style. For example the Struts framework accepts an incoming HTTP request, parses out the request parameters, maps the request to an action class and calls the action class, finally running code that you wrote.

Struts is in control. You can't change this sequence. Struts calls you when it's time for you to do something. Then it takes control again to call a view or something.

Here Martin Fowler talks about how the inversion of control is what distinguishes a framework from a library.

Did that make sense? If you don't know Struts at all we can try again with a more familiar example.
[ August 25, 2006: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Kishore Jannarapu
Greenhorn

Joined: Feb 14, 2012
Posts: 2
Technology is a specification given by an organization and it will provide a functionality. By using Technology we can develop the technology related functionality and can also integrate with other technologies.

But framework is a set of libraries which will provide a scratch level implementation using one or more technologies and also provides Quality ,reduce development time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Technology vs framework