Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between webservice and webapplication?

Tags:

asp.net

can you please tell me what is the difference between webservice and webapplication.

like image 881
Surya sasidhar Avatar asked May 14 '10 05:05

Surya sasidhar


People also ask

Is web service an application?

Web services are self-contained, modular applications that can be described, published, located, and invoked over a network. They implement a services oriented architecture (SOA), which supports the connecting or sharing of resources and data in a very flexible and standardized manner.

What is difference between web service and web API?

There you have it: an API is an interface that allows you to build on the data and functionality of another application, while a web service is a network-based resource that fulfills a specific task. Yes, there's overlap between the two: all web services are APIs, but not all APIs are web services.

What is the difference between application and web application?

The main difference between mobile apps and web apps is that web apps are self-sustaining. If you have an internet connection, you can access a web app. You can't access mobile apps unless you install them directly on a device, similar to a desktop app.


1 Answers

A web service:

  • Typically returns XML or JSON or something like that, something that is easily decoded by a program
  • The results you get from a web service is typically not just shown to a person in its raw form (ie. since it isn't HTML, the results have to be reformatted, like placed into a form)
  • The intended usage of a web service is that it is something an application can talk to

A web application

  • Typically returns HTML or image data or similar
  • The results you get from a web application is usually shown to a person, through a web browser

As for similarities:

  • Both typically use HTTP(S) as the transport
  • Both typically use HTTP authentication/authorization to secure data
  • Both are typically hosted by a web server

So the main difference is who usually talks to them. A web service usually by another application, a web application usually by a web browser. Other than that they're pretty similar.

like image 91
Lasse V. Karlsen Avatar answered Nov 15 '22 22:11

Lasse V. Karlsen