Difference between web services and web application

前端 未结 8 2008
天涯浪人
天涯浪人 2021-01-30 02:16

Lets have an example scenario:

Client opens a web site and finds the sum of two numbers which he enters from the textboxes.Then clicks on the ADD button.Two parameters a

8条回答
  •  清酒与你
    2021-01-30 03:19

    Lets take an example of Google search. We can use Google search in two ways. First, we can visit http://www.google.com and put out query for search. Google the returns the result. Second, we can integrate Google Search in our websites with custom search API.

    In first case Google Search is acting as web application while in second example it is acting as web service.

    Here we can point out few differences,

    1. User interacts with web application while machine interacts with web service.
    2. To access web application, one must visit application. While web service can be access from anywhere (from any application which integrated it). We don't need to visit the service explicitly.

提交回复
热议问题