This illustration shows an application Web server hosting a Java servlet.

The application Web server shows a communication stack. From the top down, the stack is constructed with the following layers:

The database server shows a communication stack that includes two layers. From the top down, the stack is constructed with the following layers:

The HTTP protocol resides between two Web browsers and the application Web server, and the TCP/IP network protocol resides between the application Web server and the database server.