Interfacing Software Libraries from Nondeterministic Prototypes |
| |
Authors: | Stanislav Chachkov Didier Buchs |
| |
Affiliation: | (1) Software Engineering Laboratory, Swiss Federal Institute of Technology, 1015 Lausanne, Switzerland;(2) Computer Science Department, University of Geneva, 1211 Geneva, Switzerland |
| |
Abstract: | Modeling software systems is one of the most obvious uses of a formal specification language. A software prototype, automatically generated from the specification, enables the developer to validate the system in a real environment. However, real software systems are seldom developed from scratch, but rather built using existing libraries. In this paper, we show how a program based on existing software libraries is modeled in the Concurrent Object-Oriented Petri Net specification language, and how a prototype code is generated from the specification. In particular, we study the interface between nondeterminist synchronous prototypes and determinist asynchronous software libraries. We take into account, problems related with nonreversibility of actions and the transactional semantics of the specification language that is kept in the prototypes. A convenient delayed execution mechanism is proposed for the library linking part of the generated code. |
| |
Keywords: | prototyping non-determinism Petri nets external laboratory |
本文献已被 SpringerLink 等数据库收录! |
|