Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is difference between Design Pattern and FrameWork ?

 
casperl roh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is difference between Design Pattern and FrameWork ? help me out
 
Ogeh Ikem
Ranch Hand
Posts: 180
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
Google Web Toolkit Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
swapnil kataria
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think we can say framework implements design patterns
 
Rameshwar Soni
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure enough, this one's also been cross posted
http://www.javaprogrammingforums.com/web-frameworks/10253-what-difference-between-design-pattern-framework.html
 
Mahendra Suda
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A framework is the collection of design patterns.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic