posted 24 years ago
Tony wrote: Maybe someone can explain to me the reason for existence or justification of the Servlet Development Kit from Sun
The reason is both historical and practical. The historical reason is that the JSDK series were both, for several years, the only way to get the servlet API and a very simple reference server. Although Tomcat is up and running now, that is a very recent occurrence, and neither Sun, nor the wider developer community are willing to dispose of a known working way to get servlets until Tomcat has proven itself.
The practical reason is that there are a lot of servers, servlet containers and servlet engines still out there which have been built to use preceding versions of the servlet API. If your web host runs Apache Jserv, for example, it only supports version 2.0 of the servlet API, so you need a version 2.0 jar to compile your servlets against, otherwise they are unlikely to work when deployed. Netscape Enterprise Server up to about version 3.6, only supports version 1.0 of the servlet API.
It's an irritating situation, but to be sure a servlet will run on the widest choice of servers, it currently needs to be built and tested to the lowest-common-denominator of the 1.0, 2.0, 2.1 and 2.2 servlet APIs.