Typing the Behavior of Objects and Components using Session Types
Antonio Vallecillo, VASCO THUDICHUM VASCONCELOS, António Ravara · Electronic Notes in Theoretical Computer Science · 2003
This paper describes a proposal for typing the behavior of objects in component models. Most component models, CORBA in particular, do not offer any support for expressing behavioral properties of objects beyond the “Static” information provided by IDLs. We build on the works by Honda et al. [6] and Gay and Hole [5] to show how session types can be effectively used for describing protocols, extending the information currently provided by object interfaces. We show how session types not only allow high level specifications of complex object interactions, but also allow the definition of powerful interoperability tests at the protocol level, namely compatibility and substitutability of objects