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. Often servlets are used in conjunction with JSPs in a pattern called "Model 2", which is a flavor of the Model/View/Controller pattern.
Table of contents |
1.1 Non-commercial Web Containers
2 External links1.2 Commercial Web Containers 1.3 Commercial Open Source 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.
Web Containers
Non-commercial Web Containers
Commercial Web Containers
Commercial Open Source Containers
External links