• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is Java Framework? Struts and�?

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a definition of Java framework?
Are Java Collection, Java IO (as in JDK) frameworks?
Is Apache JMeter Framework?
Thanks.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic