Friday, February 2, 2007

What is difference between Design Pattern and Framework?

A Framework is a skeleton of code used for developing an application with ease. It could have used several design patterns to implement the skeleton upon which we generally build applications. Eg. Struts Framework uses MVC2 architecture; various design patterns like Front- Controller, Composite, Command patterns.
Such design patterns used in the framework also helps to build applications with simplicity e.g.. Struts-config.xml makes your app configurable, resuable,fewer impacts on changes to functionality (Command pattern)Can go thru Struts architecture for further details.

SOURCE : www.referjava.com

No comments: