A framework is a collection of classes that achieve something in synergy. Struts achieves easy MVC implementation. Cocoon achieves XML publishing etc. Therefore Struts, Cocoon and such are frameworks. JDK by itself is a class library. It is a toolkit of classes that are supported by the language and it is upto the ingenuity of the programmer to put the tools to use to solve a specific problem. As you can see, a framework is a class library whereas the reverse may not be true. This is just my opinion, I would love to hear what others has to say.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).