Differences between SOA and Web Services

Source: Internet
Author: User

SOA and web services have been around for a long time. It is very difficult for beginners to figure out the relationship between them at the moment. After remembering several times and forgetting a few times, they decided to write it down so that they can learn it later, I will also give some tips to those who are as confused as me.
SOA (Service-Oriented Architecture) is a software architecture that provides an architecture design platform to make it more elastic. Main features: 1. business-driven, SOA is business-oriented, and service-oriented architecture should be designed; 2. Loose coupling, services are independent, self-contained, and flexible. 3. the interface is clearly defined and the interface is defined using a clear standard service description language; 4. remote calls follow open standards and protocols. Remote calls are the key technologies of distributed service calls,Program5. Low-frequency access to large data volumes. In SOA mode, message transmission uses the text mode, which results in a loss of response speed and efficiency. Therefore, a large number of communication methods are required.
Web services are used to provide functions equivalent to business services. Several key principles should be grasped during design: loose coupling, well-defined interfaces, and appropriate granularity. The Web service architecture has three roles: service providers, service agencies, and service users. That's not much to say.
Difference between SOA and Web Services: SOA is an architecture. Web services can be said to be instances based on this architecture. The relationship between them is just like the relationship between the object-oriented programming method and a Java project. SOA provides the design architecture, web services are an instance implementation designed to follow this architecture.
The connection between SOA and Web Services: currently, Web services are the best way to implement SOA, so they are often mentioned. Just like speaking of object-oriented programming and speaking of Java.
Therefore, Web services are a technical method for implementing SOA, while SOA does not have to be implemented by Web Services, and SOA can be implemented without web services; otherwise, web services are not necessarily the implementation of SOA, that is, they are not necessarily the SOA architecture.
These are my personal understandings, which may be wrong or narrow, but it is better for beginners to understand the relationship between them.

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.