Difference between web services and web application

前端 未结 8 2010
天涯浪人
天涯浪人 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:15

    To add 2 no.s we write a web service, to subtract we write a diffrent web service, however calculator is an web application that uses add,subtract and many other webservices in combine.

    0 讨论(0)
  • 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.
    0 讨论(0)
提交回复
热议问题