Introduction to Service Oriented Architecture

service-oriented architecture (SOA) is a flexible set of design principles used during the phases of systems development and integration. A deployed SOA-based architecture will provide a loosely-integrated suite of services that can be used within multiple business domains.

To be more specific:,

A service-oriented architecture is essentially a collection of services. These services communicate with each other. The communication can involve either simple data passing or it could involve two or more services coordinating some activity. Some means of connecting services to each other is needed.

SOA also generally provides a way for consumers of services, such as web-based applications, to be aware of available SOA-based services. For example, several disparate departments within a company may develop and deploy SOA services in different implementation languages; their respective clients will benefit from a well understood, well defined interface to access them. XML is commonly used for interfacing with SOA services, though this is not required.

SOA defines how to integrate widely disparate applications for a world that is Web based and uses multiple implementation platforms. Rather than defining an API, SOA defines the interface in terms of protocols and functionality. An endpoint is the entry point for such an SOA implementation.

Service-orientation requires loose coupling of services with operating systems, and other technologies that underlie applications. SOA separates functions into distinct units, or services, which developers make accessible over a network in order to allow users to combine and reuse them in the production of applications. These services and their corresponding consumers communicate with each other by passing data in a well-defined, shared format, or by coordinating an activity between two or more services.

Principles

The following guiding principles define the ground rules for development, maintenance, and usage of the SOA:

  • reuse, granularity, modularity, composability, componentization and interoperability.
  • standards-compliance (both common and industry-specific).
  • services identification and categorization, provisioning and delivery, and monitoring and tracking.

The following specific architectural principles for design and service definition focus on specific themes that influence the intrinsic behaviour of a system and the style of its design:

  • Service encapsulation – Many services are consolidated for use under the SOA. Often such services were not planned to be under SOA.
  • Service loose coupling – Services maintain a relationship that minimizes dependencies and only requires that they maintain an awareness of each other.
  • Service contract – Services adhere to a communications agreement, as defined collectively by one or more service-description documents.
  • Service abstraction – Beyond descriptions in the service contract, services hide logic from the outside world.
  • Service reusability – Logic is divided into services with the intention of promoting reuse.
  • Service composability – Collections of services can be coordinated and assembled to form composite services.
  • Service autonomy – Services have control over the logic they encapsulate.
  • Service optimization – All else equal, high-quality services are generally preferable to low-quality ones.
  • Service discoverability – Services are designed to be outwardly descriptive so that they can be found and accessed via available discovery mechanisms.
  • Service relevance – Functionality is presented at a granularity recognized by the user as a meaningful service.

More references

  1. http://www.ibm.com/developerworks/webservices/library/ws-soa-design1/

  2. Wikipedia