Introduction To Web Server
A Web Server is a Computer or Combination of computers, which is connected through internet or intranet to serve the clients quests, coming from their web browser. It is a large repository of web pages which transfer to the client in response to their request. The client request to the server through protocol such as FTP, HTTP, SMTP etc for their own specific use. Every web server has a unique IP address and domain name which identifies that machine on the network. A server contains the server software installed on it, which manages the client request and response them.
There are many types of web server, Enterprise uses according to their need. Some of the popular category of web servers are -
- HTTP Server - It handles HTTP request coming from clients browser and transfer the static pages to client in response to their request. This pages runs of the client browser. It generally contains the static pages.
- FTP Server - This type of server used for file transfer from one machine (Computer) to another using the internet or intranet. It uses File Transfer Protocols to transfer file from one computer to another. Such type of server uses some file transfer policies, authentication, login validation etc
- Mail Server - A Mail Server store and retrieve mail messages from client mail box.
- Application Server - It is installed database and web servers
Apache Tomcat is popular web server being used today for the implementation of some java technologies. It is a open source software used for implementing web applications.
In the next example of servlet we will use the Apache Tomcat as a web server.