o***@gmail.com
2006-02-14 19:42:15 UTC
Hi,
I'm working on my MS thesis titled "Interaction Contracts
in distributed systems". The aim of the thesis is to propose an
augmentation of "Design by Contract" paradigm with another level of
specifications called as Interaction Contract. Interaction Contract
will
explicitly and formally state the correspondence between methods
supported
by different components. These relationships are usually given
implicitly,
either in the code or in textual comments. Thesis will also describe a
notion of "Interaction Compatibility", giving a more reliable match
than
just type compatibility alone. Thesis will also describe a method to
semi-automatically generate Glue in case two components are not
Interaction Compatible. This will facilitate seamless component
composition.
The four levels of contracts viz. syntactic, semantic, synchronization
and
quantitative are inadequate because often there are rules constraining
the
order in which messages may be sent between two interacting components.
We
assume that these messages represent the invocation of methods given in
component interface. In other words, real word components often impose
a
restriction on the order in which methods supported by them can be
invoked. For example, consider a component which handles a file
system. For such a component, a file_open method call must precede a
file_read method call. It is difficult to formally document such
constraints relating the two components by using four levels of
contracts
mentioned above.
I was wondering if there is any literacture / research work available
for this purpose which I can use as a reference. Also any suggestions /
help will be greatly appreciated.
Thanks and regards
--- Omkar Tilak
I'm working on my MS thesis titled "Interaction Contracts
in distributed systems". The aim of the thesis is to propose an
augmentation of "Design by Contract" paradigm with another level of
specifications called as Interaction Contract. Interaction Contract
will
explicitly and formally state the correspondence between methods
supported
by different components. These relationships are usually given
implicitly,
either in the code or in textual comments. Thesis will also describe a
notion of "Interaction Compatibility", giving a more reliable match
than
just type compatibility alone. Thesis will also describe a method to
semi-automatically generate Glue in case two components are not
Interaction Compatible. This will facilitate seamless component
composition.
The four levels of contracts viz. syntactic, semantic, synchronization
and
quantitative are inadequate because often there are rules constraining
the
order in which messages may be sent between two interacting components.
We
assume that these messages represent the invocation of methods given in
component interface. In other words, real word components often impose
a
restriction on the order in which methods supported by them can be
invoked. For example, consider a component which handles a file
system. For such a component, a file_open method call must precede a
file_read method call. It is difficult to formally document such
constraints relating the two components by using four levels of
contracts
mentioned above.
I was wondering if there is any literacture / research work available
for this purpose which I can use as a reference. Also any suggestions /
help will be greatly appreciated.
Thanks and regards
--- Omkar Tilak