 
JAVA SERVLET
Overview of Servlets
A servlet is a web component, managed by a
container, that generates dynamic content. Servlets are small, platform
independent Java classes compiled to an architecture neutral bytecode that
can be loaded dynamically into and run by a web server. Servlets interact
with web clients via a request response paradigm implemented by the
servlet container. This request-response model is based on the behavior of
the Hypertext Transfer Protocol (HTTP).
Servlets are modules that extend
request/response-oriented servers, such as Java-enabled web servers. For
example, a servlet might be responsible for taking data in an HTML
order-entry form and applying the business logic used to update a
company's order database.

Servlets are to servers what applets
are to browsers. Unlike applets, however, servlets have no graphical user
interface.
Servlets can be embedded in many different servers because the servlet
API, which you use to write servlets, assumes nothing about the server's
environment or protocol.
|