wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes What is Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "What is Framework" Watch "What is Framework" New topic
Author

What is Framework

surya sudhakar
Greenhorn

Joined: Jun 11, 2002
Posts: 18
Hi All,
I didn't understand what is the difference between a Framework and Disign pattern. I think both provide guidelines of desing for commonly occuring problems. Am I right?
Thanks in advance
Sudhakar
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Almost.
In the usage I'm familiar with, a Framework is an actual implementation of some sort, which embodies some design idea but is extendable or customizable to make specific applications.
A Design Pattern, on the other hand is a shared understanding of a possible solution to a class of problems, together with information about things which indicate when it might or might not be suitable.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Good answer, Frank. A good resource for this kind of questions is the Frameworks page maintained by Ralph Johnson (http://st-www.cs.uiuc.edu/users/johnson/frameworks.html) who should know a bit about both, since he's one of the co-authors of "Design Patterns" and one of the world's most foremost experts on Frameworks
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
What is this stuff called Blue Prints? Are they different from Patterns or another name given to patterns?


Joy is a radiation
Julian Sitkevich
Greenhorn

Joined: Jul 23, 2001
Posts: 19
Sudharsan,
From your last post, I think you are referring to Sun's Java Blueprints at http://java.sun.com/blueprints/
They are composed of best practices, patterns and guidelines. Hope that helps!
- julian
[ September 17, 2002: Message edited by: Julian Sitkewich ]
Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
yeah! I was referring to Sun's Java Blueprints. Thanks for that clarification.
Ralf Allar
Greenhorn

Joined: Feb 26, 2002
Posts: 9
Originally posted by sur sudhakar:
Hi All,
I didn't understand what is the difference between a Framework and Disign pattern. I think both provide guidelines of desing for commonly occuring problems. Am I right?
Thanks in advance
Sudhakar


Hi Sudhakar,
okay in short:
A framework is a kind of tool helping you solving specific problems in a specific context or domain. I.e.: a framework can help you to develop a webapplication providing a kind of FRAME, you'll modify to your specific requests.
Design patterns are common solutions to given problem domains. A framework could use the Frontcontroller pattern to delegate requests/response to a web application. Also an application with GUI-elements should use a model-view-controller pattern.
Hope, this simple explanation helps...
Have fun,
Ralf
 
Don't get me started about those stupid light bulbs.
 
subject: What is Framework