File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes ARCHITECTURE V/S FRAMEWORK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ARCHITECTURE V/S FRAMEWORK" Watch "ARCHITECTURE V/S FRAMEWORK" New topic
Author

ARCHITECTURE V/S FRAMEWORK

thomas davis
Ranch Hand

Joined: Feb 01, 2003
Posts: 207
What is the difference between architecture and framework?
Is MVC an architecture or a frame work?
Could somebody list out the examples of framework and architecture?
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
It would also be a great if someone helps me to understand difference between framework and design, if possible with examples.
Himanshu


If you want to become a rich, do not work for others but make others to work for you.
Andy Bowes
Ranch Hand

Joined: Jan 14, 2003
Posts: 171
Hi Thomas,
Architecture tends to be more theoretical and frameworks are physical implementations of the architecture.
i.e. MVC is an Architecture, Struts is a framework that implements MVC.
Architectures use design patterns to describe the strutcure of a solution, frameworks provide concrete implementations of these designs.
HTH


Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I like that Andy got "pattern" in there. A line I remember is that an architecture describes aspects of a design that can be used or found in multiple implementations. I collected some other definitions of architecture on my site just for grins.
There are numerous conflicting definitions of "framework", too. Many frameworks "invert control" in that they manage the main flow of processing and call out to your code giving you opportunities to customize what's going on. Less ambitious frameworks just give you a skeletal implementation you can build on.
[ July 02, 2003: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
SAFROLE YUTANI
Ranch Hand

Joined: Jul 06, 2001
Posts: 257
A framework is basically a template that is based on a design pattern, or collection of design patterns. There are many frameworks in J2EE, such as EJB, Servlets, JMS, these are all frameworks in that you cannot use them directly unless you, or a vendor, provides an implementation of the interfaces and/or other abstractions within the framework. A library is a direct implementation of a framework that can be used without any extra implementation; exmaples of this include JFC/Swing.
Raffi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ARCHITECTURE V/S FRAMEWORK