The Java Servlet API is a class library for servlets. Servlets are Java programs that run on the server and send data to the client, much like CGI programs but with a few advantages in terms of performance. See http://java.sun.com/products/servlet/index.html to learn more.