EJB design: Difference between FrameWork and DesignPattern
pls give me
- Posted by: sri vaths
- Posted on: January 31 2005 22:28 EST
the Difference between FrameWork and DesignPattern
relation between FrameWork and DesignPattern
- Difference between FrameWork and DesignPattern by soudathikar madhu raj on January 31 2005 23:09 EST
- Difference between FrameWork and DesignPattern by Michael Mahemoff on February 01 2005 08:17 EST
- Difference between FrameWork and Service by Anix Mhala on March 09 2005 06:50 EST
A framework is a reusable, ``semi-complete'' application that can be specialized to produce custom applications as described by
Ralph Johnson and Brian Foote.
As the definition says, a frame work is a semi complete Application .For eg we have Struts Framework which is used as a base for many custom applications
A Design pattern is not an application but is a solution to a commonly occuring design problem.We can use a Pattern to avoid some of the possible design draw backs in the application being designed. These patterns can be used by all applications( including frameworks to make the application robust )
The Struts Frame work which is Based on MVC model uses patterns like "Front controller" etc in its design
Hope that it clarifies ur doubt
Thanks for the clarification
pls give methe Difference between FrameWork and DesignPatternrelation between FrameWork and DesignPattern
See Ralph Johnson's classic paper, Frameworks = Components + Patterns
I understood the difference between Framework and Design pattern. But what is the difference between Framework and service? Can I call Log4j is a service or framework. I have developed components such as File Upload, Auto E-Mailer and Search for my website. So Should I call them as services?
I think the things which you are mentioning are services because the definition of the services is "work done by one person or group that benefits another;".log4j is a service which provides the logging service to your applications.
If we talk about the differences between the service and the framework, the service can be used directly to see the results but in the case of framework, you have to extend it to see the results. Framework is a skeleton you have to put skin on it to make it live.