Web servers accepts requests from web clients, looks for the resource and returns the response to the client. However web servers only send static data. In other words web server itself cannot process anything. It can just look for resources and if found sends across the resource to the client.
However if that is the case we require much more than a web server then.
What if, if we require that when a user requests for a page, the current date and time is to be displayed to the user. This dynamicity can be achieved by the web server with the help of a Web application.
A web application has the ability to process a request and return the result. Thus when a user requests for a dynamic data, the web server accepts the request and then forwards it to the web application. The web application processes the request and returns the result. This result is then returned to the user via the web server.
Thus for the client, its the web server who is processing the request and actually its the web application who has done the job of processing the request for the web server.
No comments:
Post a Comment