This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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
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