SlideShare a Scribd company logo
Selecting with multiple interfaces
 Component capabilities and usages are specified by
interfaces.
 A service abstraction, that defines the operations
that the service supports, independently from any
particular implementation
• Signature level : The interfaces describe just the names of the
methods, the types of their arguments, and the return
values—i.e., the signature.
• Semantic level : deals with the “meaning” of operations—i.e,
the behavior.
• Protocol level : deals just with the components’ service
access protocols—i.e., the partial order in which components
expect their methods to be called, and the order in which
they invoke other methods.
Substitutability - refers to the ability of a component to replace
another so that clients of the first one remain unaware of the
change.
This operator defines a partial order between components and is
usually noted by “≤”. With it, given an application and two
components C and D, D ≤ C means that we can replace C with D in
the application with the warranty that the application will
continue working without problems.
At the signature level, substitutability D ≤ C roughly a
matter of checking that all services offered by C are also
offered by D.
At the protocol level, we need to check two main issues:
(a) that all messages accepted by C are also accepted by D,
and that outgoing messages of D are a subset of the
outgoing messages of C;and
(b) we need to test that the relative order among the
incoming and outgoing messages of both components are
consistent.
Finally, semantic level substitutability is known in this context
as “behavioural subtyping”. Here, the behaviour refers to the
specification on how the object methods manipulate the
object attributes, and behavioural types are defined as an
extension of object signature types that associate behaviour
to signatures and to identify subtypes that conform to their
supertypes not only syntactically, but also semantically.
Equivalence Relation
Between interfaces, and say that two interfaces R1 and
R2 are equivalent (R1 ≡ R2) iff C1 ≤ C2 and C2 ≤ C1
Interoperation (noted by “∞”)
At the signature level this means that all exchanged messages are
understood by each other,
and at the protocol level that their protocols match in each role
they share.
At the semantic level, it implies that the behaviour provided
by a component should be accordant to the behaviour expected
from its client component, as has been the basis for the “design by
contract” development discipline.
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
Selecting with multiple interfaces
https://drive.google.com/file/d/0B-
kGQne6icbVZmJSSW9TUzdGUlk/view?usp=sharing
Selecting with multiple interfaces

More Related Content

PDF
Specification and Verification of Contract-based Applications
PPT
CCNA Discovery Networking for Home and Small Businesses - Chapter 6
PPT
Discovery Home S B Chapter 6
PDF
Evaluating Contract Compatibility for Service Composition in The SeCO2 Framework
PDF
M035484088
PPTX
Soa 6 service architecture components
PPTX
application layer protocols
PDF
Cc unit 2 updated
Specification and Verification of Contract-based Applications
CCNA Discovery Networking for Home and Small Businesses - Chapter 6
Discovery Home S B Chapter 6
Evaluating Contract Compatibility for Service Composition in The SeCO2 Framework
M035484088
Soa 6 service architecture components
application layer protocols
Cc unit 2 updated

Similar to Selecting with multiple interfaces (20)

PPT
unit 3 new syllabus very imp DCN PPT.ppt
DOCX
Service oriented software engineering
PDF
Reflective and Refractive Variables: A Model for Effective and Maintainable A...
PPT
Contract First Modeling Services Using Uml
PPTX
Introduction to webservices
PDF
DIAMETER_EFORT_ENG.pdf
PDF
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
PPTX
Distributed system architecture
PPTX
Web Services Agreement Specification
PDF
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
PPT
service methodology, service description, service characteristics, performanc...
PDF
What kinds of languages can agents use to communicate?
PPT
Transitioning Enterprise Architectures to Service Oriented Architectures
PPT
Transitioning Enterprise Architectures to Service Oriented Architectures
PDF
Dynamic Interface Adaptability in Service Oriented Software
PPTX
UNIT II-WEB SERVICES (WS) AND PRIMITIVE
PPTX
Lecture 3 - Services
PDF
Microservices_vs_SOA
PPTX
CHP-4.pptx
PDF
Program and Network Properties
unit 3 new syllabus very imp DCN PPT.ppt
Service oriented software engineering
Reflective and Refractive Variables: A Model for Effective and Maintainable A...
Contract First Modeling Services Using Uml
Introduction to webservices
DIAMETER_EFORT_ENG.pdf
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Distributed system architecture
Web Services Agreement Specification
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
service methodology, service description, service characteristics, performanc...
What kinds of languages can agents use to communicate?
Transitioning Enterprise Architectures to Service Oriented Architectures
Transitioning Enterprise Architectures to Service Oriented Architectures
Dynamic Interface Adaptability in Service Oriented Software
UNIT II-WEB SERVICES (WS) AND PRIMITIVE
Lecture 3 - Services
Microservices_vs_SOA
CHP-4.pptx
Program and Network Properties
Ad

More from Saransh Garg (18)

PPTX
Technical non-technical-requirement-of-cots-selection
PPTX
Selecting cots vendor in cbse process
PPTX
Scs.pptx repaired
PPTX
Repo for cbt
PPT
PPTX
Predicting system trustworthyness
PPTX
Koala component model (1)
PPT
Javabean1
PPTX
Integration in component based technology
PPTX
Embedded system.pptx
PPT
Cots integration
PPTX
Corba model ppt
PPTX
Composition of cots
PPTX
Components in real time systems
PPTX
Component object model and
PPT
Component based models and technology
PPT
Cbt component based technology architectures
PPTX
Architecture support for component
Technical non-technical-requirement-of-cots-selection
Selecting cots vendor in cbse process
Scs.pptx repaired
Repo for cbt
Predicting system trustworthyness
Koala component model (1)
Javabean1
Integration in component based technology
Embedded system.pptx
Cots integration
Corba model ppt
Composition of cots
Components in real time systems
Component object model and
Component based models and technology
Cbt component based technology architectures
Architecture support for component
Ad

Recently uploaded (20)

PPTX
Presentation on HIE in infants and its manifestations
PPTX
master seminar digital applications in india
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Institutional Correction lecture only . . .
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
Computing-Curriculum for Schools in Ghana
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Cell Types and Its function , kingdom of life
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Lesson notes of climatology university.
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
Presentation on HIE in infants and its manifestations
master seminar digital applications in india
VCE English Exam - Section C Student Revision Booklet
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GDM (1) (1).pptx small presentation for students
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
human mycosis Human fungal infections are called human mycosis..pptx
RMMM.pdf make it easy to upload and study
Computing-Curriculum for Schools in Ghana
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Cell Types and Its function , kingdom of life
102 student loan defaulters named and shamed – Is someone you know on the list?
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
Lesson notes of climatology university.
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Anesthesia in Laparoscopic Surgery in India

Selecting with multiple interfaces

  • 2.  Component capabilities and usages are specified by interfaces.  A service abstraction, that defines the operations that the service supports, independently from any particular implementation
  • 3. • Signature level : The interfaces describe just the names of the methods, the types of their arguments, and the return values—i.e., the signature. • Semantic level : deals with the “meaning” of operations—i.e, the behavior. • Protocol level : deals just with the components’ service access protocols—i.e., the partial order in which components expect their methods to be called, and the order in which they invoke other methods.
  • 4. Substitutability - refers to the ability of a component to replace another so that clients of the first one remain unaware of the change. This operator defines a partial order between components and is usually noted by “≤”. With it, given an application and two components C and D, D ≤ C means that we can replace C with D in the application with the warranty that the application will continue working without problems.
  • 5. At the signature level, substitutability D ≤ C roughly a matter of checking that all services offered by C are also offered by D. At the protocol level, we need to check two main issues: (a) that all messages accepted by C are also accepted by D, and that outgoing messages of D are a subset of the outgoing messages of C;and (b) we need to test that the relative order among the incoming and outgoing messages of both components are consistent. Finally, semantic level substitutability is known in this context as “behavioural subtyping”. Here, the behaviour refers to the specification on how the object methods manipulate the object attributes, and behavioural types are defined as an extension of object signature types that associate behaviour to signatures and to identify subtypes that conform to their supertypes not only syntactically, but also semantically.
  • 6. Equivalence Relation Between interfaces, and say that two interfaces R1 and R2 are equivalent (R1 ≡ R2) iff C1 ≤ C2 and C2 ≤ C1
  • 7. Interoperation (noted by “∞”) At the signature level this means that all exchanged messages are understood by each other, and at the protocol level that their protocols match in each role they share. At the semantic level, it implies that the behaviour provided by a component should be accordant to the behaviour expected from its client component, as has been the basis for the “design by contract” development discipline.