The Servlet interface is the central abstraction of the servlet API. All servlets implement this interface either directly, or more commonly, by extending a class that implements the interface. The two classes in the API that implement the Servlet interface are GenericServlet and HttpServlet . For most purposes, developers will typically extend HttpServlet to implement their servlets. |