1 / 34

Service Oriented Architecture

Service Oriented Architecture. Lecture 3: SOA Reference Model OASIS 2006. What is a Reference Model. Abstract framework for understanding significant relationships among the entities of some environment. Enables the development of specific reference or concrete architectures.

cora-flores
Download Presentation

Service Oriented Architecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Service Oriented Architecture Lecture 3: SOA Reference Model OASIS 2006 Master of Information System Management

  2. What is a Reference Model • Abstract framework for understanding significant relationships among the entities of some environment. • Enables the development of specific reference or concrete architectures. • Is a minimal set of unifying concepts, axioms and relationships within a particular problem domain. • The SOA Reference Model applies to software architecture and not generally to “service environments”. Master of Information System Management

  3. What is a Reference Architecture? • Recommended patterns. • Explains and underpins a generic design template. • A reference model, on the other hand, works at a higher level of abstraction. • Consider a reference model for residential housing… Master of Information System Management

  4. Residential Housing Example • A reference model would talk about eating areas, hygiene areas and sleeping areas. • More than one reference architecture may address the problem of providing housing. A reference architecture may exist for space station housing and another for high density housing. Master of Information System Management

  5. Concrete or Specific Architecture • In residential housing we would: • Incorporate particular styles. • Describe window arrangements. • Assign construction materials. • Present blueprints. Master of Information System Management

  6. Reference Model Human Housing Issues Reference Architecture Reference Architecture Space Ship Housing High Rise Housing Specific architecture Specific architecture One window per kitchen Specific solution approaches Common courtyard Specific solution approaches Master of Information System Management

  7. How the Reference Model relates to other work Master of Information System Management

  8. What is SOA? • Service Oriented Architecture is a paradigm for organizing and utilizing distributed capabilities that may be under control of different ownership domains. • Not itself a solution to domain problems but rather an organizing and delivery paradigm. • Key concepts are visibility, interaction and effect. Master of Information System Management

  9. Terms • Visibility refers to the capacity of those with needs and those with capabilities to see each other. • Interaction is the activity of using capability grounded in a particular execution context. • Capabilities are used to realize real world effects (return of information or change in state of entities). Master of Information System Management

  10. Terms • Private actions are inherently unknowable by other parties. Think information hiding. • Public actions result in changes to the state that is shared between those involved in the current execution context and possibly shared by others. Master of Information System Management

  11. Terms • The notion of Service includes: -- The performance of work (a function) by one for another. -- The capability to perform work for another. -- The specification of the work offered for another. -- The offer to perform work for another. -- In SOA, services are the mechanisms by which needs and capabilities are brought together. Think marketplace. Master of Information System Management

  12. Terms • SOA is a means of organizing solutions that promotes reuse, growth and interoperability. • SOA is an organizing and delivery paradigm that enables one to get more value from use both of capabilities which are locally “owned” and those under the control of others. • The provider of the underlying capability may not be the same entity that eventually provides the service through which the underlying capability is accessed. • The entity that creates, evolves and maintains the capability may be different from the entity that creates, evolves and maintains the service. Master of Information System Management

  13. SOA Differs from OOP • The Object Oriented Paradigm focuses on packaging data with operations. The SOA Paradigm focuses on the task or business function. It may or may not be associated with methods and properties. • To use an object, you first create it. One interacts with a service where it exists. • SOA places greater emphasis on clear semantics. • SOA, like human activity, works by delegation. • SOA takes ownership boundaries more seriously. • SOA is more closely aligned with the marketplace. An interaction is an exchange of value and there may exist a marketplace of services. • The Gang of Four OOP Design Patterns don’t apply here. We don’t talk about inheritance, aggregation, polymorphism and so on… • What is Martin Fowler’s first rule of distributed objects? “Don’t distribute your objects.” • SOA is all about progress through regress. • Services are simpler things. Master of Information System Management

  14. SOA Benefits • Through simplification perhaps we can: • Facilitate the manageable growth of large-scale enterprise systems. • Facilitate internet-scale provisioning and use of services. • Reduce cost in organization-to-organization interaction. • Increase scalability and interoperability. • Allow for evolution and manageability. Master of Information System Management

  15. Goal of SOA Reference Model • Define the essence of service oriented architecture. • Develop a vocabulary. • Be independent of technological changes. Master of Information System Management

  16. The Reference Model • Concept of service. • Concepts relating to dynamic aspects of service. • Concepts relating to meta-level aspects of services. Master of Information System Management

  17. The Reference Model Visibility Service Description Execution Context Service Interaction Real world effect Contract and policy Master of Information System Management

  18. A Service -- Is a mechanism to enable access to one or more capabilities. -- Permits access via a clear interface. -- Is exercised consistent with constraints and policies as specified by the service descriptions (metadata). Service -- A service is opaque except for : -- Information model -- Behavior Model -- Information required to match needs. -- Effects include: -- Information returned and/or a change in shared state Master of Information System Management

  19. Dynamics of a Service Service dynamics include: -- visibility -- interaction -- real world effects Visibility Service Interaction Real world effect Master of Information System Management

  20. Visibility a Prerequisite to interaction Awareness Willingness Available description and policy Visibility Both parties must want to interact. The parties must be able to communicate Reachability Interaction Preconditions to visibility are: awareness, willingness, and reachability Master of Information System Management

  21. Important Interaction Concepts Action Model Process Model Service Description Behavior Model Interaction The Information Model describes the structure and semantics of messages Information Model Semantics Structure Describes how the messages are to be interpreted - perhaps with an ontology. Structure includes data format and data types Master of Information System Management

  22. Important Interaction Concepts Action Model Process Model Service Description Behavior Model Interaction A behavior model is characterized by knowledge of the actions on, responses to, and temporal dependencies between actions on the service. For example, when accessing a secure database, several steps may be required for identification, authentication and authorization prior to issuing an SQL query. Master of Information System Management

  23. Important Interaction Concepts Processes may be idempotent, long-running, transactional, etc. Action Model Process Model Service Description Behavior Model Interaction Master of Information System Management

  24. Important Interaction Concepts Characterizes the actions that may be invoked against the service Process Model Action Model Service Description Behavior Model Interaction Master of Information System Management

  25. Real World Effect Interactions have purpose. The purpose is often to change the shared state of the world or to gain information. Shared State Service Interaction Real world effect Master of Information System Management

  26. Concepts About services A hallmark of SOA is the large amount of associated documentation and description. Service Description Execution Context Service Represents the information needed in order to use the service. Contract and policy Master of Information System Management

  27. Service Description • Purpose is to facilitate interaction and visibility. • Best if represented in a machine readable standard way. • Information includes: • Reachability • Set of functions performed • Set of constraints and policies • Format and content of exchanged messages • Expected sequence of messages Master of Information System Management

  28. Service Description Master of Information System Management

  29. Policy Related to a Service A policy represents some constraint or condition on the use, deployment or description of an owned entity as defined by any participant. A policy is from a participant’s viewpoint. A contract represents an agreement by two or more parties. Contracts may also address condition of use issues. Service policies involve: Assertions - e.g. all messages will be encrypted Ownership - e.g. the service or consumer Enforcement - if it’s not enforced it’s a wish Policy applies to: Security, privacy, manageability, quality of service as well as hours of business, return policies and so on… Master of Information System Management

  30. Policies and Contracts Master of Information System Management

  31. Execution Context The execution context of a service interaction is the set of infrastructure elements, process entities, policy assertions and agreements that are identified as part of an instantiated service interaction, and thus forms a path between those with needs and those with capabilities. It concerns the totality of the interaction. Different instance of the same service have different execution contexts. The context may evolve during a service interaction. It may be decided, for example, that subsequent exchanges will be encrypted. Master of Information System Management

  32. Execution Context Master of Information System Management

  33. Conformance Guidelines(1) • Have entities that can be identified as services defined by the Reference Model. • Be able to identify how visibility is established between service providers and consumers. • Be able to identify how interactions are mediated. • Be able to identify how the effect of using services is understood. Master of Information System Management

  34. Conformance Guidelines (2) • Have descriptions associated with services. • Be able to identify the execution context required to support interaction. • It will be possible to identify how policies are handled and how contracts are modeled and enforced. Master of Information System Management

More Related