首页> 外文会议>International conference on software engineering and formal methods >Translating Event-B Machines to Database Applications
【24h】

Translating Event-B Machines to Database Applications

机译:将Event-B机器转换为数据库应用程序

获取原文

摘要

Previous work on generating implementations from Event-B models has focused on translating concrete machines that are already relatively close to code. Additionally, the generated implementations do not provide support for data persistence and for inter-operating with hand-written system components. In this work, we present the EventB-2SQL tool, which translates Event-B models to Java classes that store all model data in a relational database. Operations on sets and relations are directly translated to database queries, and Event-B carrier sets are both stored in the database and translated as generic type parameters of the generated classes. This allows developers to use objects of almost any Java class as elements of carrier sets, and to easily store these objects in the database. Additionally, using a database back-end in this manner and translating events as database transactions greatly facilitates the development of client-server and multi-threaded applications while maintaining the atomicity of events.
机译:以前从Event-B模型生成实现的工作集中在转换已经相对接近代码的具体机器上。此外,生成的实现不支持数据持久性以及与手写系统组件的互操作。在这项工作中,我们介绍了EventB-2SQL工具,该工具将Event-B模型转换为将所有模型数据存储在关系数据库中的Java类。对集合和关系的操作直接转换为数据库查询,并且Event-B载体集既存储在数据库中,又转换为所生成类的通用类型参数。这使开发人员可以将几乎所有Java类的对象用作载体集的元素,并将这些对象轻松存储在数据库中。此外,以这种方式使用数据库后端并将事件转换为数据库事务,极大地促进了客户端-服务器和多线程应用程序的开发,同时保持了事件的原子性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号