jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes What is difference between Design Pattern and FrameWork ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is difference between Design Pattern and FrameWork ?" Watch "What is difference between Design Pattern and FrameWork ?" New topic

What is difference between Design Pattern and FrameWork ?

casperl roh

Joined: Aug 05, 2011
Posts: 8
What is difference between Design Pattern and FrameWork ? help me out
Ogeh Ikem
Ranch Hand

Joined: May 13, 2002
Posts: 180
A design pattern is not a concrete solution; it only describes a widely accepted solution to a recurring problem. For example, the MVC design pattern describes how an application can maintain multiple views of the same data.

On the other hand, a framework is a generic application that encapsulates reusable concrete solutions. For example, a framework might encapsulate a concrete MVC solution.
H Jetly
Ranch Hand

Joined: Aug 26, 2010
Posts: 41

Design Patterns provide a time tested way to design application. They help you solve some common place issues you might face, because they have been developed by people who wanted give a way a easier way to make applications.
Eg Abstract Factory , Bridge etc
Frameworks are created to give you a skeleton for you to build your application on top of or to aid application development.
Eg Spring, Seam, Hibernate

Harsh Jetly
swapnil kataria
Ranch Hand

Joined: Feb 26, 2011
Posts: 64
i think we can say framework implements design patterns
Rameshwar Soni
Ranch Hand

Joined: Feb 03, 2011
Posts: 247
I think Design Pattern means the pattern(the way or the methodology) which you can follow to develop an application say for example the most famous design pattern is the MVC(Model-View-Controller) ...............whereas Framework is the collection of classes and interfaces which provide an environment to develop an application
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Sure enough, this one's also been cross posted

luck, db
There are no new questions, but there may be new answers.
Mahendra Suda

Joined: Apr 22, 2011
Posts: 18
A framework is the collection of design patterns.

I agree. Here's the link: http://aspose.com/file-tools
subject: What is difference between Design Pattern and FrameWork ?
It's not a secret anymore!