From: Arne Vajhøj on
On 15-04-2010 05:36, Muhammed wrote:
> I have read many articles like API vs Framework, diff between API and
> framework etc.
> I would like to know can java jdk classes be called as framework? is
> it a candidate for framework or it is just a library?
>
> i know this will not make any diff to development.! But i wonder why
> every one, when they speak about .Net they say Framework and When they
> talk about java they say library?

Those terms are not that well defined.

But in my opinion:

library = bunch of functions/classes

framework = library of high level functionality + recommended way of
using the library

Wikipedia has a slightly different definition:

http://en.wikipedia.org/wiki/Software_library
http://en.wikipedia.org/wiki/Software_framework

rt.jar is definitely a library.

I would say that certain parts of it would qualify as frameworks.

Can we call a library consisting of both frameworks and non-frameworks
for a framework?

Flip a coin!

Arne