Support for Servlets
Like Java itself, servlets were designed for portability. Servlets are supported on all platforms that support Java, and servlets work with all the major web servers.[1] Java servlets, as defined by the Java Software division of Sun Microsystems (formerly known as JavaSoft), are the first standard extension to Java. This means that servlets are officially blessed by Sun and are part of the Java language, but they are not part of the core Java API. Therefore, although they may work with any Java Virtual Machine (JVM), servlet classes need not be bundled with all JVMs. More information about the Java Extension Framework is available at http://java.sun.com/ products/jdk/1.2/docs/guide/extensions .
To make it easy for you to develop servlets, Sun has made publicly
available a set of classes that provide basic servlet support. The
javax.servlet and javax.servlet.http packages constitute this Servlet API. Version 2.0 of these
classes comes bundled with the Java Servlet Development Kit (JSDK)
for use with the Java Development Kit version 1.1 and above; the JDSK
is available for download from
http://java.sun.com/products/servlet/.
[2]
Many web server vendors have incorporated these classes into their servers to provide servlet support, and several have also provided additional functionality. Sun’s Java Web Server, for instance, includes a proprietary interface to the server’s security features.
It doesn’t much matter where you get the servlet classes, as long as you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access