The Wayback Machine - https://web.archive.org/web/20241010165302/https://www.geeksforgeeks.org/service-oriented-architecture/
Open In App

Service-Oriented Architecture

Last Updated : 10 Jan, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Service-Oriented Architecture (SOA) is a stage in the evolution of application development and/or integration. It defines a way to make software components reusable using the interfaces. 

Formally, SOA is an architectural approach in which applications make use of services available in the network. In this architecture, services are provided to form applications, through a network call over the internet. It uses common communication standards to speed up and streamline the service integrations in applications. Each service in SOA is a complete business function in itself. The services are published in such a way that it makes it easy for the developers to assemble their apps using those services. Note that SOA is different from microservice architecture.

  • SOA allows users to combine a large number of facilities from existing services to form applications.
  • SOA encompasses a set of design principles that structure system development and provide means for integrating components into a coherent and decentralized system.
  • SOA-based computing packages functionalities into a set of interoperable services, which can be integrated into different software systems belonging to separate business domains.

The different characteristics of SOA are as follows : 
o Provides interoperability between the services. 
o Provides methods for service encapsulation, service discovery, service composition, 
service reusability and service integration. 
o Facilitates QoS (Quality of Services) through service contract based on Service Level 
Agreement (SLA). 
o Provides loosely couples services. 
o Provides location transparency with better scalability and availability. 
o Ease of maintenance with reduced cost of application development and 
deployment.
There are two major roles within Service-oriented Architecture: 

  1. Service provider: The service provider is the maintainer of the service and the organization that makes available one or more services for others to use. To advertise services, the provider can publish them in a registry, together with a service contract that specifies the nature of the service, how to use it, the requirements for the service, and the fees charged.
  2. Service consumer: The service consumer can locate the service metadata in the registry and develop the required client components to bind and use the service.
     

Services might aggregate information and data retrieved from other services or create workflows of services to satisfy the request of a given service consumer. This practice is known as service orchestration Another important interaction pattern is service choreography, which is the coordinated interaction of services without a single point of control. 

Components of SOA: 
 

Guiding Principles of SOA: 

  1. Standardized service contract: Specified through one or more service description documents.
  2. Loose coupling: Services are designed as self-contained components, maintain relationships that minimize dependencies on other services.
  3. Abstraction: A service is completely defined by service contracts and description documents. They hide their logic, which is encapsulated within their implementation.
  4. Reusability: Designed as components, services can be reused more effectively, thus reducing development time and the associated costs.
  5. Autonomy: Services have control over the logic they encapsulate and, from a service consumer point of view, there is no need to know about their implementation.
  6. Discoverability: Services are defined by description documents that constitute supplemental metadata through which they can be effectively discovered. Service discovery provides an effective means for utilizing third-party resources.
  7. Composability: Using services as building blocks, sophisticated and complex operations can be implemented. Service orchestration and choreography provide a solid support for composing services and achieving business goals.

Advantages of SOA: 

  • Service reusability: In SOA, applications are made from existing services. Thus, services can be reused to make many applications.
  • Easy maintenance: As services are independent of each other they can be updated and modified easily without affecting other services.
  • Platform independent: SOA allows making a complex application by combining services picked from different sources, independent of the platform.
  • Availability: SOA facilities are easily available to anyone on request.
  • Reliability: SOA applications are more reliable because it is easy to debug small services rather than huge codes
  • Scalability: Services can run on different servers within an environment, this increases scalability

Disadvantages of SOA: 

  • High overhead: A validation of input parameters of services is done whenever services interact this decreases performance as it increases load and response time.
  • High investment: A huge initial investment is required for SOA.
  • Complex service management: When services interact they exchange messages to tasks. the number of messages may go in millions. It becomes a cumbersome task to handle a large number of messages.

Practical applications of SOA: SOA is used in many ways around us whether it is mentioned or not. 

  1. SOA infrastructure is used by many armies and air forces to deploy situational awareness systems.
  2. SOA is used to improve healthcare delivery.
  3. Nowadays many apps are games and they use inbuilt functions to run. For example, an app might need GPS so it uses the inbuilt GPS functions of the device. This is SOA in mobile solutions.
  4. SOA helps maintain museums a virtualized storage pool for their information and content.


Similar Reads

Difference between service-oriented (SOA) and Micro service Architecture (MSA)
1. Service-oriented architecture (SOA) : It is a huge collection of services in which services communicate with each other. This framework is used for designing a software system using a software architecture that views all components as services. The communication is provided by SOA generally used for data passing it could communicate two or more
5 min read
Difference Between Object-Oriented Testing and Agent-Oriented Testing
Agent-oriented Testing is defined as the application of agents like software or intelligent or multi-agent systems, etc. to software testing problems by tackling and automating complex testing tasks. This testing is considered an extension of the object-oriented testing process. There is a growing need for agent-oriented systems to tackle complex p
3 min read
Difference between Function Oriented Design and Object Oriented Design
Function-oriented design focuses on defining and organizing functions to perform specific tasks, starting with a high-level description and refining it step-by-step. It uses a top-down approach and often relies on structured analysis and data flow diagrams. On the other hand, object-oriented design emphasizes the data to be manipulated, organizing
4 min read
Difference between System Architecture and Software Architecture
1. System Architecture : System architecture is a conceptual model that describes the structure and behavior of multiple components and subsystems like multiple software applications, network devices, hardware, and even other machinery of a system. It is Architecture Description Language (ADL) which helps to describe the entire system architecture.
3 min read
Difference between Information Architecture and Data Architecture
Information Architecture (IA) and Data Architecture (DA) are often mixed up, but they have different jobs in an organization. Information Architecture is about how information is organized and shown to users so they can easily get it. Data Architecture is about the technical side of data systems, making sure data is stored, handled, and used correc
5 min read
Difference between Enterprise Architecture and Business Architecture
Enterprise Architecture (EA) and Business Architecture (BA) are essential frameworks for organizing and managing an organization's structure and processes. However, they serve different purposes and focus on distinct aspects of an organization. Enterprise Architecture provides a comprehensive blueprint that integrates IT infrastructure, business pr
4 min read
Characteristics of Good Object Oriented Design
It is quite obvious that there are many subjective judgments concerned in inward at a decent object-oriented style. Therefore, many alternative design solutions to the same problem are possible. so as to be able to confirm that of any 2 design is best, some criteria for decision making the goodness of a design should be known. the subsequent are a
3 min read
Dynamic modelling in object oriented analysis and design
Dynamic Modelling describes those aspect of the system that are concerned with time and sequencing of the operations. It is used to specify and implement the control aspect of the system. Dynamic model is represented graphically with the help of state diagrams. It is also known as state modelling. State model consist of multiple state diagrams, one
3 min read
Reuse Oriented Model
Reuse Oriented Model (ROM), also known as reuse-oriented development (ROD), it can be steps of the software development for specific duration in which software is redesigned through creating a sequence of prototypes known as models, every system is derived from the previous one with constant series of defined rules. The reuse-oriented model isn’t a
2 min read
Object Oriented Metrics in Software Engineering
These are used to determine success or failure of a person also to quantify the improvements in the software throughout its process. These metrics can be used to reinforce good OO programming technique which lead to more reliable code. Object-oriented software engineering metrics are units of measurement that are used to characterize: object-orient
3 min read
Steps to Analyze and Design Object Oriented System
Object Oriented Analysis (OOA) :Object-Oriented Analysis (OOA) is the first technical activity performed as part of object-oriented software engineering. OOA introduces new concepts to investigate a problem.Object Oriented Design (OOD) :An analysis model created using object-oriented analysis is transformed by object-oriented design into a design m
3 min read
Short Note on Size-Oriented Metrics
Size-oriented metrics play a fundamental role in software development by measuring and comparing software project sizes based on various factors. This article explores the concept of size-oriented metrics, their advantages, and disadvantages, and provides an example of how they are applied in software organizations. What is Size Oriented Metrics?Si
3 min read
Best Practices of Object Oriented Programming (OOP)
As the name suggests, Object-Oriented Programming or OOPs refers to languages that use objects in programming. Object-oriented programming aims to implement real-world entities like inheritance , abstraction , polymorphism, and encapsulation in programming. The main aim of OOP is to bind together the data and the functions that operate on them so t
5 min read
Functional Modelling in object oriented analysis and design
Functional Modelling: A functional model of a system specifies how the output values are computed in the system from the input values, without considering the control aspects of the computation.This represents the functional view of the system - the mapping from inputs to outputs and the various steps involved in the mapping.The functional model of
3 min read
Object-oriented Life Cycle Model - Software Engineering
The Object-Oriented Approach to Building Systems takes the objects as the basis. For this, first, the system to be developed is observed and analyzed, and the requirements are defined as in any other method of system development. Once this is often done, the objects in the required system are identified. For example, in the case of a Banking System
2 min read
Software Engineering - Agent-Oriented Testing
Testing determines the correctness of the software under a predefined script. It identifies any gaps, errors, or missing requirements contrary to actual requirements. The purpose of testing is to detect failures of the application so that failures can be discovered and corrected. Testing is the process of finding bugs in developed or existing appli
5 min read
Function Oriented Design - Software Engineering
The design process for software systems often has two levels. At the first level, the focus is on deciding which modules are needed for the system based on SRS (Software Requirement Specification) and how the modules should be interconnected. Function Oriented Design is an approach to software design where the design is decomposed into a set of int
3 min read
Object Oriented Testing in Software Testing
Prerequisite – Software TestingSoftware typically undergoes many levels of testing, from unit testing to system or acceptance testing. Typically, in-unit testing, small “units”, or modules of the software, are tested separately with a focus on testing the code of that module. In higher-order testing (e.g, acceptance testing), the entire system (or
5 min read
Short Note on Function-Oriented Metrics
Function-oriented metrics are used to measure software characteristics based on the functionality provided to the user. These metrics focus on the functional aspects of software systems rather than on the implementation details or the code itself. This article focuses on discussing function-oriented metrics in detail. Table of Content What are Func
8 min read
Difference Between Object-Oriented Testing and Conventional Testing
Traditional Testing or Conventional Testing is a technique that tests individual pieces of the software system just as they operate by themselves. It entails the usage of unit tests, integration tests, system testing and acceptance tests. In conventional testing, emphasis is put on verifying if each module performs its function according to set req
5 min read
Object-Oriented Analysis and Design(OOAD)
Object-Oriented Analysis and Design (OOAD) is a software engineering methodology that employs object-oriented principles to model and design complex systems. It involves analyzing the problem domain, representing it using objects and their interactions, and then designing a modular and scalable solution. It helps create systems that are easier to u
8 min read
Difference between Structured and Object-Oriented Analysis
Structured and Object-Oriented Analysis are two distinct methodologies for software development. Structured Analysis focuses on processes and data flow, while Object-Oriented Analysis emphasizes modeling entities and their interactions. This article explores the key differences between these approaches and their implications for system design and i
8 min read
Software As A Service (SaaS)
Owning software is very expensive. For example, a ₹50 lakh software running on a ₹1 lakh computer is a common place. As with hardware, owning software is the current tradition across individuals and business houses. Often the usage of a specific software package does not exceed a couple of hours of usage per week. In this situation, i
2 min read
Introduction of Independent Basic Service Set (IBSS)
Independent Basic Service Set (IBSS), as the name suggests, is a service set that allows wireless devices or stations to communicate with each other without any medium or central device. It does not contain or include any AP (Access Point). That’s why it is also known as an ad hoc mode or peer to peer network. Peer to peer network, simply means two
3 min read
Overview of Everything as a Service (XaaS)
Everything as a Service (XaaS) :Before only cloud computing technology was there and various cloud service providers were providing various cloud services to the customers. But now a new concept has emerged i.e Everything as a Service (XaaS) means anything can now be a service with the help of cloud computing and remote accessing. Where cloud compu
5 min read
Container as a Service (CaaS)
What is a Container :Containers are a usable unit of software in which application code is inserted, as well as libraries and their dependencies, in the same way that they can be run anywhere, be it on desktop, traditional IT, or in the cloud.To do this, the containers take advantage of the virtual operating system (OS) in which OS features (in the
5 min read
Overview of Desktop as a Service (DaaS)
Prerequisite : Cloud Computing Introduction :There are different cloud service models are available like SaaS, PaaS, IaaS and now even everything can be a service with the help of cloud computing. That's why Everything/Anything as a Service(XaaS) has emerged. Like that, the Desktop as a Service came into the picture with the growth of cloud technol
5 min read
Overview of Continual Service Improvement (CSI)
The demand for IT services and software products are increasing in a faster way. Even we have seen during this pandemic situation how the demand for IT services/products have been raised. One of the important point is when one IT company brings a new IT product/service to the market, we think the task is over and we have the desired product with us
4 min read
What is Testing as a Service (TaaS)?
Companies use the outsourcing approach known as "Testing as a Service" in short "TaaS" to test their products prior to deployment. The application is tested to find flaws in simulated real-world environments. Testing solutions are provided by a third-party service provider with testing knowledge rather than internal employees of the organization. P
9 min read
Introduction of Basic Service Set (BSS)
Basic Service Set (BSS), as the name suggests, is basically a network topology that allows all wireless devices to communicate with each other through a common medium i.e., AP (Access point). It also manages these wireless devices or clients. It basically provides a building block to all wireless LAN (Local Area Network). BSS basically contains onl
4 min read
Article Tags :