Service Oriented Architecture

From MPDLMediaWiki
Jump to: navigation, search

This is our portal for Service Oriented Architecture Things


On SOAService-Oriented Architecture definition

"There is no widely-agreed upon definition of service-oriented architecture other than its literal translation that it is an architecture that relies on service-orientation as its fundamental design principle. Service-orientation describes an architecture that uses loosely coupled services to support the requirements of business processes and users. Resources on a network in an SOAService-Oriented Architecture environment are made available as independent services that can be accessed without knowledge of their underlying platform implementation. These concepts can be applied to business, software and other types of producer/consumer systems." [1]

Service orientation principles [2]

  • Reusability — regardless of whether immediate reuse opportunities exist, services are designed to support potential reuse.
  • Formalized contracts— For services to interact, they need not share anything but a formal contract that describes each service and defines the terms of information exchange.
  • Loose coupling - services are loosely coupled— Services must be designed to interact without the need for tight, cross-service dependencies.
  • Abstraction - of logic-the only part of a service that is visible to the outside world is what is exposed via the service contract. Underlying logic, beyond what is expressed in the descriptions that comprise the contract, is invisible and irrelevant to service requestors.
  • Composability- services may compose other services. This allows logic to be represented at different levels of granularity and promotes reusability and the creation of abstraction layers.
  • Autonomous - the logic governed by a service resides within an explicit boundary. The service has control within this boundary and is not dependent on other services for it to execute its governance.
  • Statelessness - services should not be required to manage state information, as that can impede their ability to remain loosely coupled. Services should be designed to maximize statelessness even if that means deferring state management elsewhere.
  • Discoverability - services should allow their descriptions to be discovered and understood by humans and service requestors that may be able to make use of their logic.

SOAService-Oriented Architecture structure [3]

SOAElements.jpg

  • IS NOT: a technology or a technology standard
  • IS: high-level concept that provides architectural blueprints
  • FOCUS: slicing, dicing, and composition
  • RELATION: services represent business functionality


Service Repository

What a service repository enables

  • discovery of a service, information on how to use the service
  • information on the physical location, the service provider, contact persons, fees, technical constraints, security issues, and available service levels
  • if cross-enterprise service integration: legal issues (terms and conditions of usage), style of presentation, security, user registration, service subscription, billing and versioning.

A service repository should be managed centrally within an organization

Service metadata in a service repository

  • Service name, operation and arguments signatures (WSDLWeb Services Description Language, XMLSchema)
  • Service owner (business level, development level and operations level).
  • Access rights such as ACLAccess Control List information and the underlying security mechanism, or a description of the process that must be followed so that a new system can utilize a particular service.
  • Intended performance and scalability of the service, including average response times, and potential throughput limitations. This can be summarized as part of a generic SLAService-Level-Agreement (Service Level Agreement) template.
  • Transactional properties of the service and its individual operations(idempotency, compensation)
  • Binding information. Development-time binding vs. Run-time binding

Service contract and service repository

  • service contract is not pure "machine-readable" i.e. WSDLWeb Services Description Language but contains also human-readable information
  • service repository should also hold service contracts
  • service repository is structured set of service contracts

SOAService-Oriented Architecture development life-cycle and service repository

  • SOAService-Oriented Architecture development life-cycle should be supported by the service repository
  • manual "management" of services in SOAService-Oriented Architecture becomes impossible as the number of services grows

SOA Delivery lifecycle

Additional information on SOAService-Oriented Architecture lifecycle


References

  1. Wikipedia definition on SOA, retrieved on 15.06.200)
  2. Erl, Thomas: Service-Oriented Architecture: Concepts, Technology, and Design, Prentice Hall (2005), ISBN 978-0-13-185858-9
  3. Krafzig, Dirk; Karl Banke, Dirk Slama: Enterprise SOA: Service-Oriented Architecture Best Practices, Prentice Hall (2004), ISBN 978-0-13-146575-6

eSciDocEnhanced Scientific Documentation SOAService-Oriented Architecture related pages