使用行为设计模式的并发面向对象开发
Concurrent object-oriented development with behavioral design patterns
摘要:
由于并发设计的复杂性和并发编程的危险性,并发应用程序的开发具有挑战性。使用统一建模语言(UML)的体系结构建模可以支持开发过程,但是将模型映射到并发实现的问题仍然存在。本文解决了这个问题,定义了一个计划,并发UML设计映射到并发面向对象的程序。使用COMET方法进行并发面向对象系统的体系结构设计,每个组件和连接器都用表示其行为设计模式的原型进行注释。对于这些模式中的每一个,都提供了使用SCOOP(一种并发面向对象编程模型)的参考实现。我们评估这个开发过程中使用的ATM系统的案例研究,获得一个完整的功能实现的基础上,系统映射的个人模式。由于SCOOP模型的强大执行保证,它没有通过构造的数据竞争,这种开发方法消除了复杂的并发编程错误的来源。
英文摘要:
The development of concurrent applications is challenging because of the complexity of concurrent designs and the hazards of concurrent programming. Architectural modeling using the Unified Modeling Language (UML) can support the development process, but the problem of mapping the model to a concurrent implementation remains. This paper addresses this problem by defining a scheme to map concurrent UML designs to a concurrent object-oriented program. Using the COMET method for the architectural design of concurrent object-oriented systems, each component and connector is annotated with a stereotype indicating its behavioral design pattern. For each of these patterns, a reference implementation is provided using SCOOP, a concurrent object-oriented programming model. We evaluate this development process using a case study of an ATM system, obtaining a fully functional implementation based on the systematic mapping of the individual patterns. Given the strong execution guarantees of the SCOOP model, which is free of data races by construction, this development method eliminates a source of intricate concurrent programming errors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。