Encyclopedia > Java Servlets

  Article Content

Java Servlet

Redirected from Java Servlets

The Java Servlet API allows a software developer to add dynamic content to a web server. The generated content is commonly HTML, but may be other data such as XML.

This programming API defines the expected interactions of a web container and a servlet. A web container is essentially the component of a web server that interacts with the servlets. The web container is responsible for mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights.

A servlet is an object that receives requests and generates a response based on the request. The API defines HTTP subclasses of the generic servlet requests and responses as well as an HTTP session object that tracks multiple requests and responses between the web server and a client. Servlets may be packaged as a Web application[?].

Moreover, servlets can be generated automatically by Java Server Pages (JSP), or alternately by template engines such as WebMacro.

Table of contents

Web Containers

Like the other java APIs, different vendors provide their own implementation. Below is a list of some of the free and commercial web containers.

Non-commercial Web Containers

  • Jetty Web Server (http://jetty.mortbay.com)
  • Enhydra Web Server (http://www.enhydra.org)
  • jo! Web Server (http://www.tagtraum.com)
  • Tomcat (http://jakarta.apache.org/tomcat) is web container licensed under the Apache Software License. It is used in the official reference implementation.

Commercial Web Containers

External links



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
East Islip, New York

... income for a household in the town is $71,106, and the median income for a family is $77,593. Males have a median income of $51,554 versus $36,959 for females. The per ...

 
 
 
This page was created in 37.5 ms