A web server is a server that implements the http protocol.

A web service is a technology for interoperability between systems. REST approach involves the transfer of the representation of resources, it can be HTML, JSP, XML.

Question: what is the difference between a web service REST and a web server? Can you say that REST web service = web server + the ability to interact with other systems.

  • one
    All the same, these are two different definitions and it is impossible to combine them into one concept. The only thing they have is that any web service cannot work without a web server. But a web server without a web service works without problems. - Vayas
  • What is the difference between tcp and http? - vp_arth
  • @vp_arth, tcp transport protocol, http application protocol. Roughly speaking, the first serves for the delivery of packets, the second serves for meaningful standardized communication between the client and the server. - DanielOlivo
  • @DanielOlivo, ahha, it was a rhetorical question) - vp_arth
  • @vp_arth, and I’ve got a crush (( - DanielOlivo

1 answer 1

This is a comparison of warm with soft.

REST is the architecture for implementing api.

The web server implements the http protocol.

In general, the REST service is located behind the web server and is part of the backend.