API just define the methods that you have to implement to provide a certain
type of service. That means that you can guarantee (for example) that all
servlets will work the same because calling a certain method (as defined in
the API) will do the same thing in any java server that complies with the
specifications.
That means that you dont have to rewrite your application in order to move
it to another web server.
API stands for application programming interface, means that certain
applications talk to each other using the same method calls.
chanoch
-----Original Message-----
From: sami [mailto:mr.india@a...]
Sent: 29 June 2001 13:54
To: Java 2 Enterprise Edition
Subject: [j2ee] Re: APIs in J2EE
apis are a part of the specification from sun to the vendors
---
sami
On Fri, 29 Jun 2001 02:22:26
Mr Amit Dhand wrote:
>Hello Friends...
>I have a small doubt.
>What is the primary role of API's in J2EE ? Is it a
>communication between the container and the
>components?
>Please do tell me regarding this. Thankyou,
>
>Regards,
>Amit.