Service-oriented architecture: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reverting to a more informed, helpful, and illustrative version as a better departure point
Line 1: Line 1:
{{External links}}
'''Service Oriented Architecture''' ('''SOA''') is an architectural design pattern that concerns itself with defining loosely-coupled relationships between producers and consumers. While it has no direct relationship with software, programming, or technology, it is often confused with an evolution of [[distributed computing]] and [[modular programming]].


<!-- Deleted image removed: [[Image:SOA_Logo.jpg|thumb|right|Its a different enterprise game.]] -->
There is no widely agreed upon definition of SOA other than its literal translation. It is an architecture that relies on [[service-orientation]] as its fundamental design principle.<ref> An alternative view, particularly after initial deployments, is that SOAs properly ought not dictate physical implementation, so the formal definition should not include "network." High performance SOAs may not be viable, especially if deployed to distributed nodes on a network. Separate nodes for every (or most) services could be prohibitively expensive.</ref> In an SOA environment independent services can be accessed without knowledge of their underlying platform implementation.<ref> Channabasavaiah, Holley and Tuggle, [http://www-128.ibm.com/developerworks/library/ws-migratesoa/ Migrating to a service-oriented architecture], ''[[IBM]] DeveloperWorks'', 16 Dec 2003</ref> These concepts can be applied to business, software and other types of producer/consumer systems.


'''Service Oriented Architecture (SOA)''' is an evolution of [[distributed computing]] and [[modular programming]]. SOAs build applications out of software services. Services are relatively large, intrinsically unassociated units of functionality, which have no calls to each other embedded in them. They typically implement functionalities most humans would recognize as a service, such as filling out an online application for an account, viewing an online bank statement, or placing an online book or airline ticket order. Instead of services embedding calls to each other in their source code, protocols are defined which describe how one or more services can talk to each other. This architecture then relies on a business process expert to link and sequence services, in a process known as orchestration, to meet a new or existing business system requirement.
==Service-oriented architecture==
{{Unreferencedsection|date=October 2007}}
Every business comprises core and non-core functions. The core functionality doesn't change very frequently and the non-core changes very frequently. For example, the retail store will always sell goods and this will be one of the core functions, but the way it will sell the goods might differ with time and market needs, etc. These are the non-core functions which change very frequently.


Relative to earlier attempts to promote software reuse via modularity of functions, or by use of predefined groups of functions known as classes, SOA's atomic level objects are 100 to 1,000 times larger, and are associated by an application designer or engineer using orchestration. In the process of orchestration, relatively large chunks of software functionality (services) are associated in a non-hierarchical arrangement (in contrast to a class's hierarchies) by a software engineer, or process engineer, using a special software tool which contains an exhaustive list of all of the services, their characteristics, and a means to record the designer's choices which the designer can manage and the software system can consume and use at run-time.
In a software industry, it is desirable that the functions that change frequently should be decoupled from functions that change infrequently.


Underlying and enabling all of this is [[metadata]] which is sufficient to describe not only the characteristics of these services, but also the data that drives them. [[XML]] has been used extensively in SOA to create data which is wrapped in a nearly exhaustive description container. Analogously, the services themselves are typically described by [[WSDL]], and communications protocols by [[SOAP]]. Whether these description languages are the best possible for the job, and whether they will remain the favorites going forward, is at present an open question. What is certain is that SOA is utterly dependent on data and services that are described using some implementation of metadata which meets two criteria. The metadata must be in a form which software systems can consume to dynamically configure to maintain coherence and integrity, and in a form which system designers can understand and use to manage that metadata.
In a simplistic term, SOA is the practice of segregating the core business functions into independent services that don’t change frequently. Going further it also extends this segregation to many things that can logically and functionally be separated, regardless of whether they’re changeable or not.


The goal of SOA is to allow fairly large chunks of functionality to be strung together to form ad-hoc applications which are built almost entirely from existing software services. The larger the chunks, the fewer the interface points required to implement any given set of functionality; however, very large chunks of functionality may not be granular enough to be easily reused. Each interface brings with it some amount of processing overhead, so there is a performance consideration in choosing the granularity of services. The great promise of SOA is that the marginal cost of creating the n-th application is zero, as all of the software required already exists to satisfy the requirements of other applications. Only orchestration is required to produce a new application.

The key is that there are no interactions between the chunks specified within the chunks themselves. Instead, the interaction of services (all of whom are unassociated peers) is specified by humans in a relatively ad-hoc way with the intent driven by newly emergent business requirements. Thus the need for services to be much larger units of functionality than traditional functions or classes, lest the sheer complexity of thousands of such granular objects overwhelm the application designer. The services themselves are developed using classical languages like Java, C#, C++, C or COBOL.

SOA services are loosely coupled, in contrast to the functions a linker binds together to form an [[executable]], a [[DLL]], or an assembly. SOA services also run in "safe" wrappers such as [[Java platform|Java]] or [[Microsoft .NET|.NET]], which manage memory allocation and reclamation, allow ad-hoc and late binding, and provide some degree of indeterminate [[data typing]].

Increasing numbers of third-party software companies are offering software services for a fee. In the future, SOA systems may consist of such third-party services combined with others created in-house. This has the potential to spread costs over many customers, and customer uses, and promotes standardization both in and across industries. In particular, the travel industry now has a well-defined and documented set of both services and data, sufficient to allow any reasonably competent software engineer to create travel agency software using entirely off-the-shelf software services. Other industries, such as the finance industry, are also making significant progress in this direction.

There is no widely agreed upon definition of SOA other than its literal translation. It is an architecture that relies on [[service-orientation]] as its fundamental design principle.<ref> An alternative view, particularly after initial deployments, is that SOAs properly ought not dictate physical implementation, so the formal definition should not include "network." High performance SOAs may not be viable, especially if deployed to distributed nodes on a network. Separate nodes for every (or most) services could be prohibitively expensive.</ref> In an SOA environment independent services can be accessed without knowledge of their underlying platform implementation.<ref> Channabasavaiah, Holley and Tuggle, [http://www-128.ibm.com/developerworks/library/ws-migratesoa/ Migrating to a service-oriented architecture], ''[[IBM]] DeveloperWorks'', 16 Dec 2003</ref> These concepts can be applied to business, software and other types of producer/consumer systems.
==Service-oriented architecture==
Service-oriented architecture (SOA) is an architectural style where existing or new functionalities are grouped into atomic [[Service (Systems Architecture)|services]]. These services communicate with each other by passing data from one service to another, or by coordinating an activity between one or more services.
Service-oriented architecture (SOA) is an architectural style where existing or new functionalities are grouped into atomic [[Service (Systems Architecture)|services]]. These services communicate with each other by passing data from one service to another, or by coordinating an activity between one or more services.


Companies have long sought to integrate existing systems in order to implement [[information technology]] (IT) support for business processes that cover all present and prospective systems requirements needed to run the business end-to-end. A variety of designs can be used to this end, ranging from rigid point-to-point [[electronic data interchange]] (EDI) interactions to Web auctions. By updating older technologies, such as Internet-enabling EDI-based systems, companies can make their IT systems available to internal or external customers; but the resulting systems have not proven to be flexible enough to meet business demands.
Companies have long sought to integrate existing systems in order to implement [[information technology]] (IT) support for business processes that cover all present and prospective systems requirements needed to run the business end-to-end. A variety of designs can be used to this end, ranging from rigid point-to-point [[electronic data interchange]] (EDI) interactions to Web auctions. By updating older technologies, such as Internet-enabling EDI-based systems, companies can make their IT systems available to internal or external customers; but the resulting systems have not proven to be flexible enough to meet business demands.


A flexible, standardized architecture is required to better support the connection of various applications and the sharing of data. SOA is one such architecture. It unifies business processes by structuring large applications as an ad-hoc collection of smaller modules called services. These applications can be used by different groups of people both inside and outside the company, and new applications built from a mix of services from the global pool exhibit greater flexibility and uniformity. One should not, for example, have to provide redundantly the same personal information to open an online checking, savings or [[Individual Retirement Account|IRA account]], and further, the interfaces one interacts with should have the same look and feel and use the same level and type of input data validation. Building all applications from the same pool of services makes achieving this goal much easier and more deployable to affiliate companies. An example of this might be interacting with a rental car company's reservation system even though you are doing so from an airline's reservation system.
A flexible, standardized architecture is required to better support the connection of various applications and the sharing of data. SOA is one such architecture. It unifies business processes by structuring large applications as an ad-hoc collection of smaller modules called services. These applications can be used by different groups of people both inside and outside the company, and new applications built from a mix of services from the global pool exhibit greater flexibility and uniformity. One should not, for example, have to provide redundantly the same personal information to open an online checking, savings or IRA account, and further, the interfaces one interacts with should have the same look and feel and use the same level and type of input data validation. Building all applications from the same pool of services makes achieving this goal much easier and more deployable to affiliate companies. An example of this might be interacting with a rental car company's reservation system even though you are doing so from an airline's reservation system.


==Requirements for a SOA==
==Requirements for a SOA==
In order to efficiently use a SOA, one must meet the following requirements:

In order to efficiently use a SOA, one must meet the following requirements:

*Interoperability between different systems and programming languages<br />The most important basis for a simple integration between applications on different platforms is a communication protocol, which is available for most systems and programming languages.
*Interoperability between different systems and programming languages<br />The most important basis for a simple integration between applications on different platforms is a communication protocol, which is available for most systems and programming languages.
*Clear and unambiguous description language<br />To use a service offered by a provider, it is not only necessary to be able to access the provider system, but the syntax of the service interface must also be clearly defined in a platform-independent fashion.
*Clear and unambiguous description language<br />To use a service offered by a provider, it is not only necessary to be able to access the provider system, but the syntax of the service interface must also be clearly defined in a platform-independent fashion.
*Retrieval of the service<br />To allow a convenient integration at design time or even system run time, a search mechanism is required to retrieve suitable services. The services should be classified as computer-accessible, hierarchical or taxonomies based on what the services in each category do and how they can be invoked.
*Retrieval of the service<br />To allow a convenient integration at design time or even system run time, a search mechanism is required to retrieve suitable services. The services should be classified as computer-accessible, hierarchical or taxonomies based on what the services in each category do and how they can be invoked.


==Webservices approach to a service-oriented architecture==
==Web services approach to a service-oriented architecture==
[[Web services]] could be used to implement a service-oriented architecture. A major focus of Web services is to make functional building blocks accessible over standard Internet protocols that are independent from platforms and programming languages. These services can be new applications or just wrapped around existing legacy systems to make them network-enabled. A service can rely on another service to achieve its goals.
Web services can be used to implement a service-oriented architecture. A major focus of Web services is to make functional building blocks accessible over standard Internet protocols that are independent from platforms and programming languages. These services can be new applications or just wrapped around existing legacy systems to make them network-enabled. A service can rely on another service to achieve its goals.


Each SOA building block can play one or more of three roles:
Each SOA building block can play one or more of three roles:
#'''Service provider'''<br />The service provider creates a Web service and possibly publishes its interface and access information to the service registry. Each provider must decide which services to expose, how to make trade-offs between security and easy availability, how to price the services, or, if they are free, how to exploit them for other value. The provider also has to decide what category the service should be listed in for a given broker service and what sort of trading partner agreements are required to use the service.
*Service provider<br />The service provider creates a Web service and possibly publishes its interface and access information to the service registry. Each provider must decide which services to expose, how to make trade-offs between security and easy availability, how to price the services, or, if they are free, how to exploit them for other value. The provider also has to decide what category the service should be listed in for a given broker service and what sort of trading partner agreements are required to use the service.
#'''Service broker'''<br />The service broker, also known as service registry, is responsible for making the Web service interface and implementation access information available to any potential service requestor. The implementer of the broker decides about the scope of the broker. Public brokers are available through the Internet, while private brokers are only accessible to a limited audience, for example, users of a company intranet. Furthermore, the amount of the offered information has to be decided. Some brokers specialize in many listings. Others offer high levels of trust in the listed services. Some cover a broad landscape of services and others focus within an industry. There are also brokers that catalog other brokers. Depending on the business model, brokers can attempt to maximize look-up requests, number of listings or accuracy of the listings. The [[Universal Description Discovery and Integration]] (UDDI) specification defines a way to publish and discover information about Web services.
*Service broker<br />The service broker, also known as service registry, is responsible for making the Web service interface and implementation access information available to any potential service requestor. The implementer of the broker decides about the scope of the broker. Public brokers are available through the Internet, while private brokers are only accessible to a limited audience, for example, users of a company intranet. Furthermore, the amount of the offered information has to be decided. Some brokers specialize in many listings. Others offer high levels of trust in the listed services. Some cover a broad landscape of services and others focus within an industry. There are also brokers that catalog other brokers. Depending on the business model, brokers can attempt to maximize look-up requests, number of listings or accuracy of the listings. The [[Universal Description Discovery and Integration]] (UDDI) specification defines a way to publish and discover information about Web services.
#'''Service requestor'''<br />The service requestor or Web service client locates entries in the broker registry using various find operations and then binds to the service provider in order to invoke one of its Web services.
*Service requestor<br />The service requestor or Web service client locates entries in the broker registry using various find operations and then binds to the service provider in order to invoke one of its Web services.


==Other SOA Concepts==
==Other SOA Concepts==


SOA can be implemented using one or more of protocols and, for example,one may use a file system mechanism to communicate data conforming to a defined interface specification between processes. The key is independent services with defined interfaces that can be called to perform their tasks in a standard way, without the service having foreknowledge of the calling application, and without the application having or needing knowledge of how the service actually performs its tasks.
Architecture is not tied to a specific technology. It may be implemented using a wide range of technologies, including [[SOAP]], [[Remote procedure call|RPC]], [[Distributed Component Object Model|DCOM]], [[Common Object Request Broker Architecture|CORBA]], [[Web Services]] or [[Windows Communication Foundation|WCF]]. SOA can be implemented using one or more of these protocols and, for example, might use a file system mechanism to communicate data conforming to a defined interface specification between processes conforming to the SOA concept. The key is independent services with defined interfaces that can be called to perform their tasks in a standard way, without the service having foreknowledge of the calling application, and without the application having or needing knowledge of how the service actually performs its tasks.


[[Image:SOA Elements.png|thumb|right|Elements of SOA, by Dirk Krafzig, Karl Banke, and Dirk Slama. Enterprise SOA. Prentice Hall, 2005]]
[[Image:SOA Elements.png|thumb|right|Elements of SOA, by Dirk Krafzig, Karl Banke, and Dirk Slama. Enterprise SOA. Prentice Hall, 2005]]


[[Image:SOA Meta Model.jpg|thumb|right| SOA Meta Model, The Linthicum Group, 2007]]
[[Image:SOA Meta Model.jpg|thumb|right| SOA Meta Model, The Linthicum Group, 2007]]
SOA can also be regarded as a style of information systems architecture that enables the creation of applications that are built by combining [[loosely coupled]] and [[interoperable]] services{{Fact|date=February 2007}}. These services inter-operate based on a formal definition (or contract, e.g., [[WSDL]]) that is independent of the underlying platform and programming language. The interface definition [[information hiding|hides the implementation]] of the language-specific service. SOA-based systems can therefore be independent of development technologies and platforms (such as [[Java platform|Java]], [[Microsoft .NET|.NET]] etc). Services written in [[C Sharp|C#]] running on .NET platforms and services written in Java running on [[Java Platform, Enterprise Edition|Java EE]] platforms, for example, can both be consumed by a common composite application (or client). Applications running on either platform can also consume services running on another, being Web services, which facilitate reuse. Many COBOL legacy systems can also be wrapped by a managed environment and to be presented as a software service. This has allowed the useful life of many core legacy systems to be extended indefinitely no matter what language they were originally written in.
SOA can also be regarded as a style of information systems architecture that enables the creation of applications that are built by combining [[loosely coupled]] and [[interoperable]] services{{Fact|date=February 2007}}. These services inter-operate based on a formal definition (or contract, e.g., [[WSDL]]) that is independent of the underlying platform and programming language. The interface definition [[information hiding|hides the implementation]] of the language-specific service. SOA-based systems can therefore be independent of development technologies and platforms (such as [[Java platform|Java]], [[Microsoft .NET|.NET]] etc). Services written in [[C Sharp|C#]] running on .NET platforms and services written in Java running on [[Java Platform, Enterprise Edition|Java EE]] platforms, for example, can both be consumed by a common composite application (or client). Applications running on either platform can also consume services running on the other as Web services, which facilitates reuse. Many COBOL legacy systems can also be wrapped by a managed environment and presented as a software service. This has allowed the useful life of many core legacy systems to be extended indefinitely no matter what language they were originally written in.


SOA can support integration and consolidation activities within complex [[Enterprise architecture|enterprise]] systems, but SOA does not specify or provide a methodology or [[framework]] for documenting capabilities or services.
SOA can support integration and consolidation activities within complex [[Enterprise architecture|enterprise]] systems, but SOA does not specify or provide a methodology or [[framework]] for documenting capabilities or services.
Line 70: Line 76:
==Why SOA?==
==Why SOA?==


[[Enterprise architect]]s believe that SOA can help businesses respond more quickly and cost-effectively to changing market conditions<ref>Christopher Koch [http://www.cio.com/archive/030105/blueprint.html A New Blueprint For The Enterprise], ''CIO Magazine'', Mar 1 2005</ref>
{{cleanup-tone|section}}
. This style of '''architecture''' promotes reuse at the macro(service) level rather than micro(classes) level. It can also simplify interconnection to - and usage of - existing IT (legacy) assets.


[http://www.soablueprint.com/whitepapers/SOAPGPart1.pdf SOA Practitioners Guide: Why Services-Oriented Architecture?] provides a high-level summary on SOA.
[[Enterprise architect]]s believe that SOA can help businesses respond more quickly and cost-effectively to changing market conditions<ref>Christopher Koch [http://www.cio.com/archive/030105/blueprint.html A New Blueprint For The Enterprise], ''CIO Magazine'', Mar 1 2005</ref>. This style of ''architecture'' promotes reuse at the macro (service) level rather than micro (classes) level. It can also simplify interconnection to - and usage of - existing IT (legacy) assets.


In some respects, SOA can be considered an architectural evolution rather than a revolution and captures many of the best practices of previous software architectures. In communications systems, for example, there has been little development of solutions that use truly static bindings to talk to other equipment in the network. By formally embracing a SOA approach, such systems are better positioned to stress the importance of well-defined, highly inter-operable interfaces.{{Fact|date=February 2007}}
In some respects, SOA can be considered an architectural evolution rather than a revolution and captures many of the best practices of previous software architectures. In communications systems, for example, there has been little development of solutions that use truly static bindings to talk to other equipment in the network. By formally embracing a SOA approach, such systems are better positioned to stress the importance of well-defined, highly inter-operable interfaces.{{Fact|date=February 2007}}
Line 97: Line 104:


In addition, the following factors should also be taken into account when defining a SOA implementation:
In addition, the following factors should also be taken into account when defining a SOA implementation:
*SOA Reference Architecture [http://www.soablueprint.com/whitepapers/SOAPGPart2.pdf SOA Practitioners Guide Part 2: SOA Reference Architecture] covers the SOA Reference Architecture, which provides a worked design of an enterprise-wide SOA implementation with detailed architecture diagrams, component descriptions, detailed requirements, design patterns, opinions about standards, patterns on regulation compliance, standards templates etc.
*Life cycle management [http://www.soablueprint.com/whitepapers/SOAPGPart3.pdf SOA Practitioners Guide Part 3: Introduction to Services Lifecycle] introduces the Services Lifecycle and provides a detailed process for services management though the service lifecycle, from inception through to retirement or repurposing of the services. It also contains an appendix that includes organization and governance best practices, templates, comments on key SOA standards, and recommended links for more information.
*Efficient use of system resources
*Efficient use of system resources
*Service maturity and performance
*Service maturity and performance
Line 106: Line 115:


===Service contract===
===Service contract===
This refers to a Service Level Agreement type document and should not be part of the article.
A service contract needs to have the following components:
A service contract needs to have the following components:
*Header
*Header
Line 139: Line 149:
==SOA and web service protocols==
==SOA and web service protocols==
{{Unreferencedsection|date=June 2006}}
{{Unreferencedsection|date=June 2006}}
SOA may be built on [[Web service]]s standards (e.g., using [[SOAP]]) that have gained broad industry acceptance. These standards (also referred to as [[List of web service specifications|web service specifications]]) also provide greater interoperability and some protection from lock-in to proprietary vendor software. One can, however, implement SOA using any service-based technology, such as [[Jini]].

SOA may be built on [[Web service]]s standards (e.g., using [[SOAP]]) that have gained broad industry acceptance. These standards (also referred to as [[List of Web service specifications|web service specifications]]) also provide greater interoperability and some protection from lock-in to proprietary vendor software. One can, however, implement SOA using any service-based technology, such as [[Jini]].


''Service-oriented architecture'' is often defined as services exposed using the [[Web Services Protocol Stack]]{{Fact|date=February 2007}} . The base level of web services standards relevant to SOA includes the following:
''Service-oriented architecture'' is often defined as services exposed using the [[Web Services Protocol Stack]]{{Fact|date=February 2007}} . The base level of web services standards relevant to SOA includes the following:
Line 154: Line 163:


==SOA, Web 2.0, and mashups ==
==SOA, Web 2.0, and mashups ==

[[Web 2.0]] refers to a "second generation" of web sites, primarily distinguished by the ability of visitors to contribute information for collaboration and sharing. Web 2.0 applications use Web services and may include [[Ajax (programming)|Ajax]], [[Adobe Flash|Flash]], [[Silverlight]] or [[JavaFX]] user interfaces, [[Web syndication]], [[blogs]], and [[wikis]]. While there are no set standards for Web 2.0, it is characterised by building on the existing web server architecture and using services. Web 2.0 can therefore be regarded as displaying some SOA characteristics<ref>Dion Hinchcliffe [http://web2.wsj2.com/is_web_20_the_global_soa.htm Is Web 2.0 The Global SOA?], ''SOA Web Services Journal'', 28 October 2005</ref>.
[[Web 2.0]] refers to a "second generation" of web sites, primarily distinguished by the ability of visitors to contribute information for collaboration and sharing. Web 2.0 applications use Web services and may include [[Ajax (programming)|Ajax]], [[Adobe Flash|Flash]], [[Silverlight]] or [[JavaFX]] user interfaces, [[Web syndication]], [[blogs]], and [[wikis]]. While there are no set standards for Web 2.0, it is characterised by building on the existing web server architecture and using services. Web 2.0 can therefore be regarded as displaying some SOA characteristics<ref>Dion Hinchcliffe [http://web2.wsj2.com/is_web_20_the_global_soa.htm Is Web 2.0 The Global SOA?], ''SOA Web Services Journal'', 28 October 2005</ref>.


Line 183: Line 191:


==Criticisms of SOA==
==Criticisms of SOA==
Some criticisms of SOA are based on the assumption that SOA is just another term for [[Web Services]]. For example, some critics claim SOA results in the addition of XML layers introducing XML parsing and composition. In the absence of native or binary forms of [[Remote Procedure Call]] (RPC) applications could '''run slower''' and require '''more processing power''', increasing costs. Most implementations do incur these overheads, but SOA can be implemented using technologies (for example, [[Java Business Integration]] (JBI)) which do not depend on remote procedure calls or translation through XML. However, there are emerging and open-source XML parsing technologies, such as '''[[VTD-XML]],''' and various XML-compatible binary formats (http://vtd-xml.sf.net/persistence.html) that promise to significantly improve the SOA performance.
Some criticisms of SOA are based on the assumption that SOA is just another term for [[Web Services]]. For example, some critics claim SOA results in the addition of XML layers introducing XML parsing and composition. In the absence of native or binary forms of [[Remote Procedure Call]] (RPC) applications could '''run slower''' and require '''more processing power''', increasing costs. Most implementations do incur these overheads, but SOA can be implemented using technologies (for example, [[Java Business Integration]] (JBI)) which do not depend on remote procedure calls or translation through XML. However, there are emerging and open-source XML parsing technolgies, such as '''[[VTD-XML]],''' and various XML-compatible binary formats (http://vtd-xml.sf.net/persistence.html) that promise to significantly improve the SOA performance.


Stateful services require both the consumer and the provider to share the same consumer-specific context, which is either included in or referenced by messages exchanged between the provider and the consumer. The drawback of this constraint is that it could reduce the overall scalability of the service provider because it might need to remember the shared context for each consumer. It also increases the coupling between a service provider and a consumer and makes switching service providers more difficult.
Stateful services require both the consumer and the provider to share the same consumer-specific context, which is either included in or referenced by messages exchanged between the provider and the consumer. The drawback of this constraint is that it could reduce the overall scalability of the service provider because it might need to remember the shared context for each consumer. It also increases the coupling between a service provider and a consumer and makes switching service providers more difficult.
Line 219: Line 227:
==Jargon==
==Jargon==
{{Unreferencedsection|date=June 2006}}
{{Unreferencedsection|date=June 2006}}

SOA is an architectural style rather than a product. Several vendors offer products which can form the basis of, or enable, SOA--particularly [[Enterprise Service Bus]] (ESB) products. ESBs provide infrastructure that can be purchased, implemented and leveraged for SOA-based systems{{Fact|date=February 2007}}.
SOA is an architectural style rather than a product. Several vendors offer products which can form the basis of, or enable, SOA--particularly [[Enterprise Service Bus]] (ESB) products. ESBs provide infrastructure that can be purchased, implemented and leveraged for SOA-based systems{{Fact|date=February 2007}}.
SOA relies heavily on metadata design and management. Metadata design and management products are also critical to implementing SOA architectures.
SOA relies heavily on metadata design and management. Metadata design and management products are also critical to implementing SOA architectures.
Line 225: Line 232:


==Literature==
==Literature==
======Books, non-technical======

===Books, non-technical===
* {{cite book | last=Allen | first=Paul | title= Service Orientation, winning strategies and best practices | publisher= Cambridge University Press | year=2006 | location= Cambridge, UK | id=ISBN 0521843367 }}
* {{cite book | last=Allen | first=Paul | title= Service Orientation, winning strategies and best practices | publisher= Cambridge University Press | year=2006 | location= Cambridge, UK | id=ISBN 0521843367 }}
* {{cite book | last=van den Berg| first=Martin| coauthors= Norbert Bieberstein and Erik van Ommeren | title = SOA for Profit, A Manager's Guide to Success with Service Oriented Architecture | publisher = Sogeti & IBM | year = 2007 | id=ISBN 978-90-75414-14-1 }}
* {{cite book | last=van den Berg| first=Martin| coauthors= Norbert Bieberstein and Erik van Ommeren | title = SOA for Profit, A Manager's Guide to Success with Service Oriented Architecture | publisher = Sogeti & IBM | year = 2007 | id=ISBN 978-90-75414-14-1 }}
* {{cite book | last=Bloomberg| first=Jason| coauthors= Ronald Schmelzer | title= Service Orient or Be Doomed! How Service Orientation Will Change Your Business | publisher= WILEY | year=2006 | location=Hoboken, New Jersey| id=ISBN 0-13-187002-5 }}
* {{cite book | last=Bloomberg| first=Jason| coauthors= Ronald Schmelzer | title= Service Orient or Be Doomed! How Service Orientation Will Change Your Business | publisher= WILEY | year=2006 | location=Hoboken, New Jersey| id=ISBN 0-13-187002-5 }}


===Books, technical===
======Books, technical======
* {{cite book | last=Barry | first=Douglas K. | title= Web Services and Service-Oriented Architectures: The Savvy Manager's Guide | publisher= Morgan Kaufmann Publishers | year=2003 | location=San Francisco | id=ISBN 1-55860-906-7 }}
* {{cite book | last=Barry | first=Douglas K. | title= Web Services and Service-Oriented Architectures: The Savvy Manager's Guide | publisher= Morgan Kaufmann Publishers | year=2003 | location=San Francisco | id=ISBN 1-55860-906-7 }}
* {{cite book | last=Bieberstein | first=Norbert | coauthors= Sanjay Bose, Marc Fiammante, Keith Jones, Rawn Shah | title= Service-Oriented Architecture Compass - Business Value, Planning and Enterprise Roadmap | publisher= Pearson | year=2006 | location=Upper Saddle River | id=ISBN 0-13-187002-5}}
* {{cite book | last=Bieberstein | first=Norbert | coauthors= Sanjay Bose, Marc Fiammante, Keith Jones, Rawn Shah | title= Service-Oriented Architecture Compass - Business Value, Planning and Enterprise Roadmap | publisher= Pearson | year=2006 | location=Upper Saddle River | id=ISBN 0-13-187002-5}}
* {{cite book | last=Erl | first=Thomas | title= SOA: Principles of Service Design | publisher= Prentice Hall PTR | year=2007 | location=Upper Saddle River | id=ISBN 0-13-234482-3}}
* {{cite book | last=Erl | first=Thomas | title= ServiceSOA Principles of Service Design | publisher= Prentice Hall PTR | year=2007 | location=Upper Saddle River | id=ISBN 0-13-234482-3}}
* {{cite book | last=Erl | first=Thomas | title= Service-Oriented Architecture: Concepts, Technology, and Design | publisher= Prentice Hall PTR | year=2005 | location=Upper Saddle River | id=ISBN 0-13-185858-0}}
* {{cite book | last=Erl | first=Thomas | title= Service-Oriented Architecture: Concepts, Technology, and Design | publisher= Prentice Hall PTR | year=2005 | location=Upper Saddle River | id=ISBN 0-13-185858-0}}
* {{cite book | last=Erl | first=Thomas | title= Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services | publisher= Prentice Hall PTR | year=2004 | location=Upper Saddle River | id=ISBN 0-13-142898-5}}
* {{cite book | last=Erl | first=Thomas | title= Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services | publisher= Prentice Hall PTR | year=2004 | location=Upper Saddle River | id=ISBN 0-13-142898-5}}
* {{cite book | last=Hurwitz | first=Judith | coauthors=Robin Bloor, Carol Baroudi, Marcia Kaufman | title= Service Oriented Architecture for Dummies | publisher= Wiley | year=2006 | location=Hoboken | id=ISBN 0-470-05435-2}}
* {{cite book | last=Hurwitz | first=Judith | coauthors=Robin Bloor, Carol Baroudi, Marcia Kaufman | title= Service Oriented Architecture for Dummies | publisher= Wiley | year=2006 | location=Hoboken | id=ISBN 0-470-05435-2}}
* {{cite book | last=Krafzig | first=Dirk | coauthors=Karl Banke, Dirk Slama | title= Enterprise SOA Service Oriented Architecture Best Practices | publisher= Prentice Hall PTR | year=2004 | location=Upper Saddle River | id=ISBN 0-13-146575-9 }}
* {{cite book | last=Linthicum | first=David | title=Next Generation Application Integration: From Simple Information to Web Services | publisher=Addison-Wesley Professional | year=2003 | location=New York | id=ISBN 978-0201844566}}
* {{cite book | last=Linthicum | first=David | title=Next Generation Application Integration: From Simple Information to Web Services | publisher=Addison-Wesley Professional | year=2003 | location=New York | id=ISBN 978-0201844566}}
* {{cite book | last=Margolis | first= Ben | title= SOA for the Business Developer: Concepts, BPEL, and SCA | publisher= Mc Press | year=2007 | id=ISBN 978-158347065}}
* {{cite book | last=Margolis | first= Ben | title= SOA for the Business Developer: Concepts, BPEL, and SCA | publisher= Mc Press | year=2007 | id=ISBN 978-158347065}}
Line 244: Line 251:
* {{cite book| last=Newcomer | first=Eric | coauthors=Lomow, Greg | year=2005 | title=Understanding SOA with Web Services | publisher=Addison Wesley | id=ISBN 0-321-18086-0}}
* {{cite book| last=Newcomer | first=Eric | coauthors=Lomow, Greg | year=2005 | title=Understanding SOA with Web Services | publisher=Addison Wesley | id=ISBN 0-321-18086-0}}
* {{cite book | last=Pulier | first=Eric | coauthors=Hugh Taylor | title= Understanding Enterprise SOA | publisher= Manning Publications | year=2005 | location=Greenwich | id=ISBN 1-932394-59-1}}
* {{cite book | last=Pulier | first=Eric | coauthors=Hugh Taylor | title= Understanding Enterprise SOA | publisher= Manning Publications | year=2005 | location=Greenwich | id=ISBN 1-932394-59-1}}
* {{cite book | last=Morgenthal | first=JP | title = Enterprise Information Integration:A Pragmatic Approach | publisher = Lulu Press | year = 2005 | id=- ISBN 1-411629-74-4}}


===Articles/papers, non-technical===
======Articles/Papers, non-technica======
* {{cite web | last=Coenen | first = Alcedo | coauthors = | year=2006 | url = https://www.opengroup.org/projects/soa-case-studies/uploads/40/11405/SOA_Agility_in_Practice.pdf | title = SOA agility in practice | format = PDF | publisher = Via The Open Group}}
* {{cite web | last=Coenen | first = Alcedo | coauthors = | year=2006 | url = https://www.opengroup.org/projects/soa-case-studies/uploads/40/11405/SOA_Agility_in_Practice.pdf | title = SOA agility in practice | format = PDF | publisher = Via The Open Group}}
* {{cite web | last = Jones | first = Steve | year = 2005 | url = http://doi.ieeecomputersociety.org/10.1109/MS.2005.80 | title = Toward an acceptable definition of service | format = PDF | publisher = IEEE Software}}
* {{cite web | last = Jones | first = Steve | year = 2005 | url = http://doi.ieeecomputersociety.org/10.1109/MS.2005.80 | title = Toward an acceptable definition of service | format = PDF | publisher = IEEE Software}}
Line 253: Line 259:
* {{cite web | last = Bieberstein | first = Norbert | year = 2006 | url = http://soaprojectmanager.com/2006/12/22/human-services-bus-stays-human--norbert-bieberstein.aspx | title = Human Services Bus Stays Human | format = html | publisher = soaprojectmanager}}
* {{cite web | last = Bieberstein | first = Norbert | year = 2006 | url = http://soaprojectmanager.com/2006/12/22/human-services-bus-stays-human--norbert-bieberstein.aspx | title = Human Services Bus Stays Human | format = html | publisher = soaprojectmanager}}


===Articles/papers, technical===
======Articles/Papers, technical======
* {{cite web | last = Mittal | first = Kunal | coauthors = | year = 2006 | url = http://www-128.ibm.com/developerworks/architecture/library/ar-soareq/ | title = Requirements process for SOA projects, Part 1 of 3: Capturing requirements for an SOA application - Initial requirements to build out your SOA | format = HTML | publisher = IBM Developerworks}}
* {{cite web | last = Mittal | first = Kunal | coauthors = | year = 2006 | url = http://www-128.ibm.com/developerworks/architecture/library/ar-soareq/ | title = Requirements process for SOA projects, Part 1 of 3: Capturing requirements for an SOA application - Initial requirements to build out your SOA | format = HTML | publisher = IBM Developerworks}}
* {{cite web | last = Shan | first = Tony | coauthors = Hua, Winnie | year = 2006 | url = http://www.idea-group.com/articles/details.asp?id=5523 | title = A Service-Oriented Solution Framework for Internet Banking | format = PDF | publisher = International Journal of Web Services Research, Vol. 3, Issue 1, pp 29-48}}
* {{cite web | last = Shan | first = Tony | coauthors = Hua, Winnie | year = 2006 | url = http://www.idea-group.com/articles/details.asp?id=5523 | title = A Service-Oriented Solution Framework for Internet Banking | format = PDF | publisher = International Journal of Web Services Research, Vol. 3, Issue 1, pp 29-48}}
Line 262: Line 268:
* {{cite web | last = Bieber | first = Guy | coauthors = | year = 2000 | url = http://www.posa3.org/workshops/AdHocNetworking/presentations/GuyBieberSlides.ppt#604,1,Service-Oriented Programming | title = Service Oriented Programming | format = HTML | publisher = Motorola}}
* {{cite web | last = Bieber | first = Guy | coauthors = | year = 2000 | url = http://www.posa3.org/workshops/AdHocNetworking/presentations/GuyBieberSlides.ppt#604,1,Service-Oriented Programming | title = Service Oriented Programming | format = HTML | publisher = Motorola}}


===Standards===
======Standards======
* {{cite web | last = SOA Reference Model Technical Committee | first = OASIS | year = 2006 | url = http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=soa-rm | title = A Reference Model for Service Oriented Architecture. | format = PDF | publisher = OASIS }}
* {{cite web | last = SOA Reference Model Technical Committee | first = OASIS | year = 2006 | url = http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=soa-rm | title = A Reference Model for Service Oriented Architecture. | format = PDF | publisher = OASIS }}


== References ==
== References ==

<div class="references-small">
<div class="references-small">
<references/>
<references/>
</div>
</div>


== See also ==
==See also==

* [[Big ball of mud]] [[anti-pattern]]
* [[Big ball of mud]] [[anti-pattern]]
* [[Business-driven development]]
* [[Business-driven development]]
* [[Communications Enabled Applications]] (CEA)
* [[Comparison of business integration software]]
* [[Comparison of business integration software]]
* [[Enterprise application integration]]
* [[Enterprise application integration]]
Line 295: Line 298:
==External links==
==External links==


*[http://www.bpmspot.com BPM & SOA Journal]
* [http://www.applabs.com/html/EnsuringServiceEnablementfromSOA_333.html Ensuring Service Enablement from SOA]
*[http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=soa-rm OASIS: Reference Model for Service Oriented Architecture]
* [http://www.applabs.com/html/ServiceOrientedArchitecture_334.html Service Oriented Architecture What it means for the Insurance Market…]
*[http://www.sun.com/products/soa/soa_methodology.pdf SOA RQ]
* [http://tech-talk-live.blogspot.com/2007/09/emulating-memory-bus-and-architecture.html Emulating the Memory Bus and Architecture]
* [http://www.alexandria.unisg.ch/Publications/37270 The "Internet of Services": The Global SOA]
*[http://www.alexandria.unisg.ch/Publications/37270 The "Internet of Services": The Global SOA]
* [http://dev2dev.bea.com/pub/a/2006/09/soa-practitioners-guide.html SOA Practitioners' Guide]
*[http://dev2dev.bea.com/pub/a/2006/09/soa-practitioners-guide.html SOA Practitioners' Guide]
*[http://www.thbs.com/pdfs/case_study_offshore_onshore.pdf SOA Implementation Using Offshore partner]
* [http://www.infoworld.com/archives/videoTemplate.jsp?Id=663&type=InfoClipz&tag=SOA InfoWorld InfoClip video: Service-oriented architecture]
* [http://www.infoworld.com/archives/videoTemplate.jsp?Id=1430&type=InfoClipz&tag=SOA InfoWorld InfoClip video: SOA Governance]
*[http://www.digerateur.com/articles/whatIsAService.jsp What is a SOA service?]
*[http://dssg.cs.umb.edu/projects/soa UML Profile and Feature Model: Modeling Non-Functional Aspects in Service Oriented Architecture]
* [http://www.itbusinessedge.com/blogs/mia/?p=226 Three Key SOA Lessons Learned from British Telecom]
* [http://soadigest.com SOA News Digest]
*[http://www.whatissoa.com What Is SOA? - An Introduction to Service-Oriented Computing]
*[http://www.soaprinciples.com SOA Principles - An Introduction to the Service-Orientation Design Paradigm]
* [http://www.goobiz.com/index.htm How to Increase your Business Agility using a Goal-Driven Service Oriented Architecture (GD-SOA)]
* [http://developer.capeclear.com/soa SOA Best Practice]
*[http://btquarterly.com/?mc=advanced-soa&page=soa-viewresearch Advanced SOA Delivers an Advanced Enterprise]
*[http://www.softwaredeveloper.com/features/ria-soa-rapid-enterprise-app-development-040307 RIA and SOA]
*[http://www.soa-consortium.org SOA Consortium, Advocacy & Community]
*[http://www.modaf.com/file_download/31 The UK MOD's Poster on Transitioning an Enterprise to SOA]
*[http://datagovernanceblog.com/want-soa-got-data-governance Want SOA? Got Data Governance?]
*[http://www.goobiz.com How to Increase your Business Reactivity using a Goal-Driven Service Oriented Architecture (GD-SOA)?]




[[Category:Web services]]
[[Category:Web services]]
[[Category:Enterprise application integration]]
[[Category:Enterprise application integration]]
[[Category:Information technology]]
[[Category:Service-oriented (business computing)]]
[[Category:Service-oriented (business computing)]]
[[Category:Software architecture]]


[[af:Diensgeoriënteerde argitektuur]]
[[af:Diensgeoriënteerde argitektuur]]

Revision as of 08:36, 29 October 2007


Service Oriented Architecture (SOA) is an evolution of distributed computing and modular programming. SOAs build applications out of software services. Services are relatively large, intrinsically unassociated units of functionality, which have no calls to each other embedded in them. They typically implement functionalities most humans would recognize as a service, such as filling out an online application for an account, viewing an online bank statement, or placing an online book or airline ticket order. Instead of services embedding calls to each other in their source code, protocols are defined which describe how one or more services can talk to each other. This architecture then relies on a business process expert to link and sequence services, in a process known as orchestration, to meet a new or existing business system requirement.

Relative to earlier attempts to promote software reuse via modularity of functions, or by use of predefined groups of functions known as classes, SOA's atomic level objects are 100 to 1,000 times larger, and are associated by an application designer or engineer using orchestration. In the process of orchestration, relatively large chunks of software functionality (services) are associated in a non-hierarchical arrangement (in contrast to a class's hierarchies) by a software engineer, or process engineer, using a special software tool which contains an exhaustive list of all of the services, their characteristics, and a means to record the designer's choices which the designer can manage and the software system can consume and use at run-time.

Underlying and enabling all of this is metadata which is sufficient to describe not only the characteristics of these services, but also the data that drives them. XML has been used extensively in SOA to create data which is wrapped in a nearly exhaustive description container. Analogously, the services themselves are typically described by WSDL, and communications protocols by SOAP. Whether these description languages are the best possible for the job, and whether they will remain the favorites going forward, is at present an open question. What is certain is that SOA is utterly dependent on data and services that are described using some implementation of metadata which meets two criteria. The metadata must be in a form which software systems can consume to dynamically configure to maintain coherence and integrity, and in a form which system designers can understand and use to manage that metadata.

The goal of SOA is to allow fairly large chunks of functionality to be strung together to form ad-hoc applications which are built almost entirely from existing software services. The larger the chunks, the fewer the interface points required to implement any given set of functionality; however, very large chunks of functionality may not be granular enough to be easily reused. Each interface brings with it some amount of processing overhead, so there is a performance consideration in choosing the granularity of services. The great promise of SOA is that the marginal cost of creating the n-th application is zero, as all of the software required already exists to satisfy the requirements of other applications. Only orchestration is required to produce a new application.

The key is that there are no interactions between the chunks specified within the chunks themselves. Instead, the interaction of services (all of whom are unassociated peers) is specified by humans in a relatively ad-hoc way with the intent driven by newly emergent business requirements. Thus the need for services to be much larger units of functionality than traditional functions or classes, lest the sheer complexity of thousands of such granular objects overwhelm the application designer. The services themselves are developed using classical languages like Java, C#, C++, C or COBOL.

SOA services are loosely coupled, in contrast to the functions a linker binds together to form an executable, a DLL, or an assembly. SOA services also run in "safe" wrappers such as Java or .NET, which manage memory allocation and reclamation, allow ad-hoc and late binding, and provide some degree of indeterminate data typing.

Increasing numbers of third-party software companies are offering software services for a fee. In the future, SOA systems may consist of such third-party services combined with others created in-house. This has the potential to spread costs over many customers, and customer uses, and promotes standardization both in and across industries. In particular, the travel industry now has a well-defined and documented set of both services and data, sufficient to allow any reasonably competent software engineer to create travel agency software using entirely off-the-shelf software services. Other industries, such as the finance industry, are also making significant progress in this direction.

There is no widely agreed upon definition of SOA other than its literal translation. It is an architecture that relies on service-orientation as its fundamental design principle.[1] In an SOA environment independent services can be accessed without knowledge of their underlying platform implementation.[2] These concepts can be applied to business, software and other types of producer/consumer systems.

Service-oriented architecture

Service-oriented architecture (SOA) is an architectural style where existing or new functionalities are grouped into atomic services. These services communicate with each other by passing data from one service to another, or by coordinating an activity between one or more services.

Companies have long sought to integrate existing systems in order to implement information technology (IT) support for business processes that cover all present and prospective systems requirements needed to run the business end-to-end. A variety of designs can be used to this end, ranging from rigid point-to-point electronic data interchange (EDI) interactions to Web auctions. By updating older technologies, such as Internet-enabling EDI-based systems, companies can make their IT systems available to internal or external customers; but the resulting systems have not proven to be flexible enough to meet business demands.

A flexible, standardized architecture is required to better support the connection of various applications and the sharing of data. SOA is one such architecture. It unifies business processes by structuring large applications as an ad-hoc collection of smaller modules called services. These applications can be used by different groups of people both inside and outside the company, and new applications built from a mix of services from the global pool exhibit greater flexibility and uniformity. One should not, for example, have to provide redundantly the same personal information to open an online checking, savings or IRA account, and further, the interfaces one interacts with should have the same look and feel and use the same level and type of input data validation. Building all applications from the same pool of services makes achieving this goal much easier and more deployable to affiliate companies. An example of this might be interacting with a rental car company's reservation system even though you are doing so from an airline's reservation system.

Requirements for a SOA

In order to efficiently use a SOA, one must meet the following requirements:

  • Interoperability between different systems and programming languages
    The most important basis for a simple integration between applications on different platforms is a communication protocol, which is available for most systems and programming languages.
  • Clear and unambiguous description language
    To use a service offered by a provider, it is not only necessary to be able to access the provider system, but the syntax of the service interface must also be clearly defined in a platform-independent fashion.
  • Retrieval of the service
    To allow a convenient integration at design time or even system run time, a search mechanism is required to retrieve suitable services. The services should be classified as computer-accessible, hierarchical or taxonomies based on what the services in each category do and how they can be invoked.

Web services approach to a service-oriented architecture

Web services can be used to implement a service-oriented architecture. A major focus of Web services is to make functional building blocks accessible over standard Internet protocols that are independent from platforms and programming languages. These services can be new applications or just wrapped around existing legacy systems to make them network-enabled. A service can rely on another service to achieve its goals.

Each SOA building block can play one or more of three roles:

  • Service provider
    The service provider creates a Web service and possibly publishes its interface and access information to the service registry. Each provider must decide which services to expose, how to make trade-offs between security and easy availability, how to price the services, or, if they are free, how to exploit them for other value. The provider also has to decide what category the service should be listed in for a given broker service and what sort of trading partner agreements are required to use the service.
  • Service broker
    The service broker, also known as service registry, is responsible for making the Web service interface and implementation access information available to any potential service requestor. The implementer of the broker decides about the scope of the broker. Public brokers are available through the Internet, while private brokers are only accessible to a limited audience, for example, users of a company intranet. Furthermore, the amount of the offered information has to be decided. Some brokers specialize in many listings. Others offer high levels of trust in the listed services. Some cover a broad landscape of services and others focus within an industry. There are also brokers that catalog other brokers. Depending on the business model, brokers can attempt to maximize look-up requests, number of listings or accuracy of the listings. The Universal Description Discovery and Integration (UDDI) specification defines a way to publish and discover information about Web services.
  • Service requestor
    The service requestor or Web service client locates entries in the broker registry using various find operations and then binds to the service provider in order to invoke one of its Web services.

Other SOA Concepts

Architecture is not tied to a specific technology. It may be implemented using a wide range of technologies, including SOAP, RPC, DCOM, CORBA, Web Services or WCF. SOA can be implemented using one or more of these protocols and, for example, might use a file system mechanism to communicate data conforming to a defined interface specification between processes conforming to the SOA concept. The key is independent services with defined interfaces that can be called to perform their tasks in a standard way, without the service having foreknowledge of the calling application, and without the application having or needing knowledge of how the service actually performs its tasks.

Elements of SOA, by Dirk Krafzig, Karl Banke, and Dirk Slama. Enterprise SOA. Prentice Hall, 2005
File:SOA Meta Model.jpg
SOA Meta Model, The Linthicum Group, 2007

SOA can also be regarded as a style of information systems architecture that enables the creation of applications that are built by combining loosely coupled and interoperable services[citation needed]. These services inter-operate based on a formal definition (or contract, e.g., WSDL) that is independent of the underlying platform and programming language. The interface definition hides the implementation of the language-specific service. SOA-based systems can therefore be independent of development technologies and platforms (such as Java, .NET etc). Services written in C# running on .NET platforms and services written in Java running on Java EE platforms, for example, can both be consumed by a common composite application (or client). Applications running on either platform can also consume services running on the other as Web services, which facilitates reuse. Many COBOL legacy systems can also be wrapped by a managed environment and presented as a software service. This has allowed the useful life of many core legacy systems to be extended indefinitely no matter what language they were originally written in.

SOA can support integration and consolidation activities within complex enterprise systems, but SOA does not specify or provide a methodology or framework for documenting capabilities or services.

High-level languages such as BPEL and specifications such as WS-CDL and WS-Coordination extend the service concept by providing a method of defining and supporting orchestration of fine grained services into more coarse-grained business services, which in turn can be incorporated into workflows and business processes implemented in composite applications or portals[citation needed].

The use of Service component architecture (SCA) to implement SOA is a current area of research.

SOA definitions

SOA is a design for linking business and computational resources (principally organizations, applications and data) on demand to achieve the desired results for service consumers (which can be end users or other services). OASIS (the Organization for the Advancement of Structured Information Standards) defines SOA as the following:

A paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. It provides a uniform means to offer, discover, interact with and use capabilities to produce desired effects consistent with measurable preconditions and expectations.

There are multiple definitions of SOA, the OASIS group and the Open Group have created formal definition with depth which can be applied to both the technology and business domains.

Though many definitions of SOA limit themselves to technology or just web services, this is predominantly pushed by technology vendors; in 2003 they talked just of web services, while in 2006 the talk is of events and process engines.[citation needed]

Why SOA?

Enterprise architects believe that SOA can help businesses respond more quickly and cost-effectively to changing market conditions[5] . This style of architecture promotes reuse at the macro(service) level rather than micro(classes) level. It can also simplify interconnection to - and usage of - existing IT (legacy) assets.

SOA Practitioners Guide: Why Services-Oriented Architecture? provides a high-level summary on SOA.

In some respects, SOA can be considered an architectural evolution rather than a revolution and captures many of the best practices of previous software architectures. In communications systems, for example, there has been little development of solutions that use truly static bindings to talk to other equipment in the network. By formally embracing a SOA approach, such systems are better positioned to stress the importance of well-defined, highly inter-operable interfaces.[citation needed]

Some have questioned whether SOA is just a revival of modular programming (1970s), event-oriented design (1980s) or interface/component-based design (1990s)[citation needed]. SOA promotes the goal of separating users (consumers) from the service implementations. Services can therefore be run on various distributed platforms and be accessed across networks. This can also maximize reuse of services[citation needed].

SOA principles

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

  • Reuse, granularity, modularity, composability, componentization, and interoperability
  • Compliance to standards (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 - A lot of existing web-services are consolidated to be used under the SOA Architecture. Many a times, such services have not been 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 what is described 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 considered preferable to low-quality ones
  • Service discoverability – Services are designed to be outwardly descriptive so that they can be found and assessed via available discovery mechanisms[7]

In addition, the following factors should also be taken into account when defining a SOA implementation:

  • SOA Reference Architecture SOA Practitioners Guide Part 2: SOA Reference Architecture covers the SOA Reference Architecture, which provides a worked design of an enterprise-wide SOA implementation with detailed architecture diagrams, component descriptions, detailed requirements, design patterns, opinions about standards, patterns on regulation compliance, standards templates etc.
  • Life cycle management SOA Practitioners Guide Part 3: Introduction to Services Lifecycle introduces the Services Lifecycle and provides a detailed process for services management though the service lifecycle, from inception through to retirement or repurposing of the services. It also contains an appendix that includes organization and governance best practices, templates, comments on key SOA standards, and recommended links for more information.
  • Efficient use of system resources
  • Service maturity and performance
  • EAI Enterprise Application Integration

Service-oriented design and development

The modelling and design methodology for SOA applications has become known by the terms service-oriented analysis and design and SOAD [8]. SOAD is a design methodology for developing highly-agile systems in a consumer/producer model that abstracts implementation from process, such that a service-provider can be modified or changed without affecting the consumer.

Service contract

This refers to a Service Level Agreement type document and should not be part of the article. A service contract needs to have the following components:

  • Header
    • Name - Name of the service. Should indicate in general terms what it does, but not be the only definition
    • Version - The version of this service contract
    • Owner - The person/team in charge of the service
    • RACI
      • Responsible - The role the person/team is responsible for the deliverables of this contract/service. All versions of the contract
      • Accountable - Ultimate Decision Maker in terms of this contract/service
      • Consulted - Who must be consulted before action is taken on this contract/service. This is 2-way communication. These people have an impact on the decision and/or the execution of that decision.
      • Informed - Who must be informed that a decision or action is being taken. This is a 1-way communication. These people are impacted by the decision or execution of that decision, but have no control over the action.
    • Type - This is the type of the service to help distinguish the layer in which it resides. Different implementations will have different service types. Examples of service types include:
      • Presentation
      • Process
      • Business
      • Data
      • Integration
  • Functional
    • Functional Requirement (From Requirements Document) - Indicates the functionality in specific bulleted items what exactly this service accomplishes. The language should be such that it allows test cases to prove the functionality is accomplished.
    • Service Operations - Methods, actions etc. Must be defined in terms of what part of the Functionality it provides.
    • Invocation - Indicates the invocation means of the service. This includes the URL, interface, etc. There may be multiple Invocation paths for the same service. We may have the same functionality for an internal and external clients each with a different invocation means and interface. Examples:
  • Non-Functional
    • Security Constraints - Defines who can execute this service in terms of roles or individual partners, etc. and which invocation mechanism they can invoke.
    • Quality of Service - Determines the allowable failure rate
    • Transactional - Is this capable of acting as part of a larger transaction and if so, how do we control that?
    • Service Level Agreement - Determines the amount of latency the service is allowed to have to perform its actions
    • Semantics - Dictates or defines the meaning of terms used in the description and interfaces of the service
    • Process - Describes the process, if any, of the contracted service

SOA and web service protocols

SOA may be built on Web services standards (e.g., using SOAP) that have gained broad industry acceptance. These standards (also referred to as web service specifications) also provide greater interoperability and some protection from lock-in to proprietary vendor software. One can, however, implement SOA using any service-based technology, such as Jini.

Service-oriented architecture is often defined as services exposed using the Web Services Protocol Stack[citation needed] . The base level of web services standards relevant to SOA includes the following:

  • XML - a markup language for describing data in message payloads in a document format
  • HTTP (or HTTPS) - request/response protocol between clients and servers used to transfer or convey information
  • SOAP - a protocol for exchanging XML-based messages over a computer network, normally using HTTP
  • XACML - a markup language for expressing access control rules and policies.
  • Web Services Description Language (WSDL) - XML-based service description that describes the public interface, protocol bindings and message formats required to interact with a web service
  • Universal Description, Discovery, and Integration (UDDI) - An XML-based registry to publish service descriptions (WSDL) and allow their discovery

Note, however, that a system does not necessarily need to use any or all of these standards to be "service-oriented." For example, some service oriented systems have been implemented using Corba, Jini and REST.

SOA, Web 2.0, and mashups

Web 2.0 refers to a "second generation" of web sites, primarily distinguished by the ability of visitors to contribute information for collaboration and sharing. Web 2.0 applications use Web services and may include Ajax, Flash, Silverlight or JavaFX user interfaces, Web syndication, blogs, and wikis. While there are no set standards for Web 2.0, it is characterised by building on the existing web server architecture and using services. Web 2.0 can therefore be regarded as displaying some SOA characteristics[9].

Mashups are also regarded by some as Web 2.0 applications. The term "enterprise mashup" has been coined to describe Web applications that combine content from more than one source into an integrated experience, which share many of the characteristics of service-oriented business applications (SOBAs), which are applications composed of services in a declarative manner. There is ongoing debate about "the collision of Web 2.0, mashups, and SOA", with some stating that Web 2.0 applications are a realisation of SOA composite and business applications. [10]

SOA 2.0 or Advanced SOA

Amid much negative reaction, Oracle is taking up SOA 2.0 as "the next-generation version of SOA" combining service-oriented architecture and Event Driven Architecture, and categorizing the first iteration of SOA as client-server driven[11] . Even though Oracle indicates that Gartner is coining a new term, Gartner analysts indicate that they call this advanced SOA and it is 'whimsically' referred to as SOA 2.0.[12] Most of the pure-play middleware vendors (e.g., webMethods and TIBCO Software) have had SOA 2.0 attributes for years. SOA 2.0 can therefore be regarded as "more marketing noise than anything else"[13] and product evangelism rather than a new "way of doing things".

However, other industry commentators have criticized attaching a version number to an application architecture design approach, while others have stated that the "next generation" should apply to the evolution of SOA techniques from IT optimization to business development[14] .

What are the challenges faced in SOA adoption?

One obvious and common challenge faced is managing services metadata[citation needed]. SOA-based environments can include many services which exchange messages to perform tasks. Depending on the design, a single application may generate millions of messages. Managing and providing information on how services interact is a complicated task.

Another challenge is providing appropriate levels of security. Security model built into an application may no longer be appropriate when the capabilities of the application are exposed as services that can be used by other applications. That is, application-managed security is not the right model for securing services. A number of new technologies and standards are emerging to provide more appropriate models for security in SOA. See SOA Security entry for more info.

As SOA and the WS-* specifications are constantly being expanded, updated and refined, there is a shortage of skilled people to work on SOA based systems, including the integration of services and construction of services infrastructure.

Interoperability is another important aspect in the SOA implementations. The WS-I organization has developed Basic Profile (BP) and Basic Security Profile (BSP) to enforce compatibility. Testing tools have been designed by WS-I to help assess whether web services are conformant with WS-I profile guidelines. Additionally, another Charter has been established to work on the Reliable Secure Profile.

There is significant vendor hype concerning SOA that can create expectations that may not be fulfilled. Product stacks are still evolving as early adopters test the development and runtime products with real world problems. SOA does not guarantee reduced IT costs, improved systems agility or faster time to market. Successful SOA implementations may realise some or all of these benefits depending on the quality and relevance of the system architecture and design[15] . See also: WS-MetadataExchange OWL-S Abrobit Roy

Criticisms of SOA

Some criticisms of SOA are based on the assumption that SOA is just another term for Web Services. For example, some critics claim SOA results in the addition of XML layers introducing XML parsing and composition. In the absence of native or binary forms of Remote Procedure Call (RPC) applications could run slower and require more processing power, increasing costs. Most implementations do incur these overheads, but SOA can be implemented using technologies (for example, Java Business Integration (JBI)) which do not depend on remote procedure calls or translation through XML. However, there are emerging and open-source XML parsing technolgies, such as VTD-XML, and various XML-compatible binary formats (http://vtd-xml.sf.net/persistence.html) that promise to significantly improve the SOA performance.

Stateful services require both the consumer and the provider to share the same consumer-specific context, which is either included in or referenced by messages exchanged between the provider and the consumer. The drawback of this constraint is that it could reduce the overall scalability of the service provider because it might need to remember the shared context for each consumer. It also increases the coupling between a service provider and a consumer and makes switching service providers more difficult.

Another concern is that WS-* standards and products are still evolving (e.g., transaction, security), and SOA can thus introduce new risks unless properly managed and estimated with additional budget and contingency for additional Proof of Concept work.

An informal survey by Network Computing placed SOA as the most despised buzzword (November 2006).

Some critics feel SOA is merely an obvious evolution of currently well-deployed architectures (open interfaces, etc).

A SOA being an architecture is the first stage of representing the system components that interconnect for the benefit of the business. At this level a SOA is just an evolution of an existing architecture and business functions. SOAs are normally associated with interconnecting back end transactional systems that are accessed via web services.

The real issue with any IT "architecture" is how one defines the information management model and operations around it that deal with information privacy, reflect the business's products and services, enable services to be delivered to the customers, allow for self care, preferences and entitlements and at the same time embrace identity management and agility. On this last point, system modification (agility) is a critical issue which is normally omitted from IT system design. Many systems, including SOAs, hard code the operations, goods and services of the organisation thus restricting their online service and business agility in the global market place.

Adopting SOAs is therefore just the first (diagrammatic) step in defining a real business system. The next step in the design process is the definition of a Service Delivery Platform (SDP) and its implementation. It is in the SDP design phase where one defines the business information models, identity management, products, content, devices, and the end user service characteristics, as well as how agile the system is so that it can deal with the evolution of the business and its customers.

SOA and Business Architecture

One area where SOA has been gaining ground is in its power as a mechanism for defining business services and operating models and thus provide a structure for IT to deliver against the actual business requirements and adapt in a similar way to the business. The purpose of using SOA as a business mapping tool is to ensure that the services created properly represent the business view and are not just what technologists think the business services should be. At the heart of SOA planning is the process of defining architectures for the use of information in support of the business, and the plan for implementing those architectures (Enterprise Architecture Planning by Steven Spewak and Steven Hill). Enterprise Business Architecture should always represent the highest and most dominant architecture. Every service should be created with the intent to bring value to the business in some way and must be traceable back to the business architecture.

Within this area, SOMA (Service-Oriented Modelling and Architecture) was announced by IBM as the first SOA-related methodology in 2004. Since then, efforts have been made to move towards greater standardization and the involvement of business objectives, particularly within the OASIS standards group and specifically the SOA Adoption Blueprints group. All of these approaches take a fundamentally structured approach to SOA, focusing on the Services and Architecture elements and leaving implementation to the more technically focused standards.

SOA and network management architecture

The principles of SOA are currently being applied to the field of network management. Examples of Service-Oriented network management architectures are TS 188 001 NGN Management OSS Architecture from ETSI, and the recently published M.3060 Principles for the Management Of Next Generation Networks recommendation from the ITU-T SOA.

Tools for managing SOA infrastructure include:

Jargon

SOA is an architectural style rather than a product. Several vendors offer products which can form the basis of, or enable, SOA--particularly Enterprise Service Bus (ESB) products. ESBs provide infrastructure that can be purchased, implemented and leveraged for SOA-based systems[citation needed]. SOA relies heavily on metadata design and management. Metadata design and management products are also critical to implementing SOA architectures. See the list of SOA related products for an overview and ideas.

Literature

Books, non-technical
  • Allen, Paul (2006). Service Orientation, winning strategies and best practices. Cambridge, UK: Cambridge University Press. ISBN 0521843367.
  • van den Berg, Martin (2007). SOA for Profit, A Manager's Guide to Success with Service Oriented Architecture. Sogeti & IBM. ISBN 978-90-75414-14-1. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Bloomberg, Jason (2006). Service Orient or Be Doomed! How Service Orientation Will Change Your Business. Hoboken, New Jersey: WILEY. ISBN 0-13-187002-5. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
Books, technical
  • Barry, Douglas K. (2003). Web Services and Service-Oriented Architectures: The Savvy Manager's Guide. San Francisco: Morgan Kaufmann Publishers. ISBN 1-55860-906-7.
  • Bieberstein, Norbert (2006). Service-Oriented Architecture Compass - Business Value, Planning and Enterprise Roadmap. Upper Saddle River: Pearson. ISBN 0-13-187002-5. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Erl, Thomas (2007). ServiceSOA Principles of Service Design. Upper Saddle River: Prentice Hall PTR. ISBN 0-13-234482-3.
  • Erl, Thomas (2005). Service-Oriented Architecture: Concepts, Technology, and Design. Upper Saddle River: Prentice Hall PTR. ISBN 0-13-185858-0.
  • Erl, Thomas (2004). Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services. Upper Saddle River: Prentice Hall PTR. ISBN 0-13-142898-5.
  • Hurwitz, Judith (2006). Service Oriented Architecture for Dummies. Hoboken: Wiley. ISBN 0-470-05435-2. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Krafzig, Dirk (2004). Enterprise SOA Service Oriented Architecture Best Practices. Upper Saddle River: Prentice Hall PTR. ISBN 0-13-146575-9. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Linthicum, David (2003). Next Generation Application Integration: From Simple Information to Web Services. New York: Addison-Wesley Professional. ISBN 978-0201844566.
  • Margolis, Ben (2007). SOA for the Business Developer: Concepts, BPEL, and SCA. Mc Press. ISBN 978-158347065.
  • Marks, Eric (2003). Executive’s Guide to Web Services. Hoboken: John Wiley & Sons. ISBN 978-0471768944. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Marks, Eric (2006). -Service Oriented Architecture: A Planning and Implementation Guide for Business and Technology. Hoboken: John Wiley & Sons. ISBN 978-0471768944. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Newcomer, Eric (2005). Understanding SOA with Web Services. Addison Wesley. ISBN 0-321-18086-0. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Pulier, Eric (2005). Understanding Enterprise SOA. Greenwich: Manning Publications. ISBN 1-932394-59-1. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
Articles/Papers, non-technica
Articles/Papers, technical
Standards

References

  1. ^ An alternative view, particularly after initial deployments, is that SOAs properly ought not dictate physical implementation, so the formal definition should not include "network." High performance SOAs may not be viable, especially if deployed to distributed nodes on a network. Separate nodes for every (or most) services could be prohibitively expensive.
  2. ^ Channabasavaiah, Holley and Tuggle, Migrating to a service-oriented architecture, IBM DeveloperWorks, 16 Dec 2003
  3. ^ http://opengroup.org/projects/soa/doc.tpl?gdid=10632
  4. ^ SOA Reference Model definition
  5. ^ Christopher Koch A New Blueprint For The Enterprise, CIO Magazine, Mar 1 2005
  6. ^ Yvonne Balzer Improve your SOA project plans, IBM, 16 July 2004
  7. ^ Thomas Erl Serviceorientation.org - About the Principles, 2005-2006
  8. ^ Zimmermann, Krogdahl and Gee, Elements of Service-Oriented Analysis and Design, IBM DeveloperWorks, 02 Jun 2004
  9. ^ Dion Hinchcliffe Is Web 2.0 The Global SOA?, SOA Web Services Journal, 28 October 2005
  10. ^ Jason Bloomberg Mashups and SOBAs: Which is the Tail and Which is the Dog?, Zapthink
  11. ^ Paul Krill Make way for SOA 2.0, InfoWorld , May 17, 2006
  12. ^ Yefim Natis & Roy Schulte Advanced SOA for Advanced Enterprise Projects, Gartner, July 13, 2006
  13. ^ Sandra Rogers Patience Grasshopper…It’s a Learning Process, Business Trends Quarterly, Q4, 2006
  14. ^ Joe McKendrick Anti-SOA 2.0 petition nears 400, ZDNet.com, June 29, 2006
  15. ^ Is There Real Business Value Behind the Hype of SOA?, Computerworld, June 19, 2006

See also

External links