Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a difference between a web server and a web service?

Tags:

terminology

To me, these terms sound very similar. Is there a difference really?

like image 397
Dimitri C. Avatar asked Feb 05 '10 08:02

Dimitri C.


People also ask

What is the difference between service and server?

A service does not need interaction and is pretty much just a random process that keeps running doing the same thing, but a server is a service because it is basically a process that keep waiting for a request to come in so that it can return a response.

What are the three types of Web servers?

There are four leading web servers − Apache, IIS, lighttpd and Jagsaw. Now we will see these servers in bit more detail.

Is web service and website same?

Also, Website is a url(server package/program) that is open/known/has-access to the end user(human user) for them to interact. But webservice is a url(server program) that is(should be) accessible only by another program and the result from it, generally, is(should be) understandable only by the calling program..

Is web server same as API?

Though APIs and web services can both facilitate data transfers between applications over the internet, they are not the same, and the terms should not be used interchangeably in every case. The key distinction is that web services are a type of API: All web services are APIs, but not all APIs are web services.


1 Answers

A web service will be running on a web server.

A web server is a piece of software designed to serve web pages/web sites/web services. Examples are IIS, Apache and many more. The name can also refer to the hardware running this software.

As web service will be running inside a web server - normally serving up XML or performing some action in response to input.

From wikipedia:

Web services today are frequently just Application Programming Interfaces (API) or web APIs that can be accessed over a network

like image 180
Oded Avatar answered Sep 22 '22 16:09

Oded