A Web Server is also called a HTTP server. because it uses the HTTP protocol to communicate with its clients (web-browsers).
A java based web server mainly uses two classes
1) java.net.Socket
2) Java.net.ServerSocket
and the communication are done through the HTTP messages.
Here the HTTP protocol plays a main role to send and receive the data over the Internet.
HTTP is a request and response protocol.
The client sends the request and the server sends the response.
A java based web server mainly uses two classes
1) java.net.Socket
2) Java.net.ServerSocket
and the communication are done through the HTTP messages.
Here the HTTP protocol plays a main role to send and receive the data over the Internet.
HTTP is a request and response protocol.
The client sends the request and the server sends the response.
No comments:
Post a Comment