tml public "-//w3c//dtd html 4.0 transitional//en">

Breu/Grosu: Modeling the dynamic behaviour of objects: On events, messages and methods (Extended Abstract)

Modeling the Dynamic Behaviour of Objects: On Events, Messages and Methods
(Extended Abstract)

R. Breu and R. Grosu

Events, messages and methods are concepts supported by most object-oriented analysis and design techniques. The interrelation between these concepts is however not yet fully understood and guidelines and techniques for method specification remain unprecise and incomplete. In this paper we provide a simple object model which we use both to clarify the above interrelation and to devise a method for specifying the dynamic behavior of objects. In a two layered approach, this method integrates the description of the object's life-cycles with the specification of the object's methods. Our object model is characterized by two important assumptions, namely that methods are virtual objects and that messages sent to inexistent objects are returned back as an error. Both assumptions are supported by practical evidence and allow us to model internal concurrency, multiple threads and attribute sharing in a very simple and elegant way. Our ideas are illustrated on a simple banking example.

In Proc. Euro-Par'97, the 3rd International Euro-Par Conference, Passau 1997.