Thursday, 7 February 2013

Web Applications Within Web Servers | Servlets Tutorial pdf

Web Applications Within Web Servers

A Web application is rooted at a specific path within a Web server. For example, a catalog application could be located at http://www.mycorp.com/catalog. All requests that start with this prefix will be routed to the ServletContext which represents the catalog application.
A servlet container can establish rules for automatic generation of Web applications. For example a ~user/ mapping could be used to map to a Web application based at /home/user/public_html/.
By default, an instance of a Web application must run on one VM at any one time. This behavior can be overridden if the application is marked as “distributable” via its deployment descriptor. An application marked as distributable must obey a more restrictive set of rules than is required of a normal Web application. These rules are set out throughout this specification.

No comments: