From: Muhammed on
Hi All,

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?
From: Muhammed on
On Apr 15, 2:43 pm, r...(a)zedat.fu-berlin.de (Stefan Ram) wrote:
> Muhammed <doublemaster...(a)gmail.com> writes:
> >I would like to know can java jdk classes be called as framework?
>
>   1st) A class can not be called in Java, a method can be called.
>
What you ment by class can not be called? My questiaon is java
provides many librarys, collection of classes to build applications.
Can we call these as a Framework? Or its still just a library?
>   2nd) A framework ist not called at all, it calls you!
>
>   A framework is kind of a part of an implementation of the
>   Strategy pattern or the Template Method Pattern. It provides
>   the template , while its client provides the hook methods .

Yes this defination is right. According to this can we call java JDK
classes (like FIle, String all standard classes), jars (standard run
time jars like rt.jar etc) as Framework?
If no, then why we call .Net framework?
From: Lew on
Muhammed writes:
>>I would like to know can java jdk classes be called as framework?
>

Stefan Ram wrote:
>   1st) A class can not be called in Java, a method can be called.
>
>   2nd) A framework ist not called at all, it calls you!
>
>   A framework is kind of a part of an implementation of the
>   Strategy pattern or the Template Method Pattern. It provides
>   the template , while its client provides the hook methods .
>

It's pretty clear the OP meant "called" as in English, not as in
computer science.

--
Lew
From: Lew on
Muhammed wrote:
> I have read many articles like API vs Framework, diff between API and
> framework etc.
>

"Framework" is not a precise term. In some contexts one might refer
to the standard API as a "framework", but that's not conventional.

> 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 think it's a bit unfair to the standard API to call it "just" a
library.

Normally one refers to a library or set of libraries, along with
associated tools such as perhaps a pre-compiler or bytecode-rewriter,
as a "framework" if it provides standardized ways to handle a common
class of problems such as window generation or XML-to-object mapping.
Again, "framework" is a rather loose term, so usage varies.

--
Lew
From: Daniel Pitts on
On 4/15/2010 5:36 AM, Lew wrote:
> Muhammed writes:
>>> I would like to know can java jdk classes be called as framework?
>>
>
> Stefan Ram wrote:
>> 1st) A class can not be called in Java, a method can be called.
>>
>> 2nd) A framework ist not called at all, it calls you!
>>
>> A framework is kind of a part of an implementation of the
>> Strategy pattern or the Template Method Pattern. It provides
>> the template , while its client provides the hook methods .
>>
>
> It's pretty clear the OP meant "called" as in English, not as in
> computer science.
It wasn't clear to me, the "as" changes the meaning of the
pseudo-sentence enough that the ambiguity swings toward Stefan's
interpretation IMO.

--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>