• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Technology vs framework

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the difference between Technology and Framework?
 
Ranch Hand
Posts: 528
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to general computing
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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've got no option but to sell you all for scientific experiments. Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic