Difference between jstl-api and jstl-impl

I am new to Java EE technology. I wonder what the difference is between a bank jstl-apiand a bank jstl-impl.

Why are the API and implementation separated? Does this mean that there are other implementations?

+5
source share
2 answers

The API and implementation are separate because Java EE works with a standardized specification.

The API is part of this specification and contains a set of mostly interfaces that all those involved in creating this specification agree with. Theoretically, anyone can implement an implementation that implements a published standardized API and behaves as described in the corresponding specification document. You can call your implementation "certified" when it passes the so-called TCK (Technical Compliance Kit).

This is the stated purpose of this specification system to encourage competition, while any particular implementation is blocked in the same protected form of users.

JSTL, , JSP, JSR 245. , .

- , , impl jstl?

, - Java EE. , . , , , ( ) , .

+6

jstl-api , . Jstl-impl . ? , jstl-impl, , jstl-api. , API : . .

+3

All Articles