This article describes the overall servlet architecture and what you need to develop your application with servlets. Also presented are several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.