WebServices and Ajax

Source: Internet
Author: User
Tags server website

These two things do have many similarities.

1. Both are implemented using XML technology,
2. Both use the HTTP protocol.
3. Both implement data exchange between different development languages on different platforms

But there are many differences between the two.
1. WebServices is a server technology, mainly used in the background for variousProgramProviding services using the original soap (Simple Object Access Protocol) mainly solves the problem of providing an ideal business data security exchange between organizations or institutions.

2. ajax is the Client technology, which is widely used in XMLHTTP. It mainly solves the problem that the browser is currently passive, so that the client can actively obtain information from the server, it becomes a rich client program, which reduces program work on the server and server load, and makes the client more flexible and powerful. it has greater superiority than WebServices, because we can provide data services similar to WebServices without modifying our server website programs,
Supplement:
1. The web service is not restricted by the browser of the client, but it is necessary to write Ajax.
2. Ajax is a way of writing, while Web Service is a standard. That is to say, Ajax requires the matching of related background pages, and Web Service exists independently, called by another actor.
3. Web Service is an architecture with good scalability and distribution. Ajax is a blank field in architecture.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.