Home  >  Article  >  Backend Development  >  Basic concepts of SOA series

Basic concepts of SOA series

黄舟
黄舟Original
2017-02-23 10:18:451943browse

SOA is a service-oriented architecture. Service-oriented (SO: Service Orientation) represents a design concept. Like object-oriented (OO: Object Orientation) and component-oriented (CO: Component Orientation), it pays attention to The idea of ​​point decomposition, service orientation has nothing to do with technology.

Service-oriented architecture is a component model that connects different functional units of an application (called services) through well-defined interfaces and contracts between these services. The interface is defined in a neutral way and should be independent of the hardware platform, operating system and programming language on which the service is implemented. This allows services built into a variety of such systems to interact in a unified and common way.

This characteristic of having a neutral interface definition (without being forced to bind to a specific implementation) is called loose coupling between services. The benefits of a loosely coupled system are its flexibility and its ability to survive when the internal structure and implementation of each service that makes up the entire application gradually changes. Tight coupling, on the other hand, means that the interfaces between the different components of the application are closely tied to their functionality and structure, making them vulnerable when some form of change needs to be made to parts or the entire application.

The need for loosely coupled systems comes from the business. Applications need to become more flexible according to business needs to adapt to changing environments, such as frequently changing policies and business levels. , business focus, partnerships, industry status, and other business-related factors that can even impact the nature of the business. We call a business that can flexibly adapt to changes in the environment an on-demand business. In an on-demand business, necessary changes can be made to the way a task is completed or performed once needed.

Service-oriented architecture, which can distribute, combine and use loosely coupled coarse-grained application components through the network according to needs. The service layer is the foundation of SOA and can be directly called by applications, thereby effectively controlling the human dependencies in the system interacting with software agents.

SOA is a coarse-grained, loosely coupled service architecture. Services communicate through simple and precisely defined interfaces, without involving underlying programming interfaces and communication models. SOA can be seen as a natural extension of B/S model, XML (a subset of standard universal markup language)/Web Service technology.

SOA will be able to help software engineers understand the development and deployment forms of various components in enterprise-level architecture from a new height. It will help enterprise system architects to more quickly , more reliable and more reusable architecture of the entire business system. Compared with the past, systems based on SOA architecture can face drastic changes in business more calmly.

Currently there is no unified definition of SOA. Different people may have different understandings of SOA from different perspectives. However, no matter what differences there are about SOA, the design ideas of SOA are still generally accepted by everyone. In the following blog, I will continue to introduce some basic characteristics of SOA. I hope everyone will continue to pay attention!

The above is the content of the basic concepts of the SOA series. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn