作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (19): 39-42. doi: 10.3969/j.issn.1000-3428.2009.19.013

• 软件技术与数据库 • 上一篇    下一篇

基于面向对象程序的类动态更新研究

马荣飞   

  1. (浙江经济职业技术学院信息与控制技术学院,杭州 310018)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-05 发布日期:2009-10-05

Research on Dynamic Update of Classes Based on Object-oriented Program

MA Rong-fei   

  1. (College of Information and Control Technology, Zhejiang Technology Institute of Economy, Hangzhou 310018)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-05 Published:2009-10-05

摘要: 从理论和实际2个方面出发,对面向对象程序动态更新的不同侧面进行研究,提出解决面向对象程序动态更新的方法。引入动态更新事务的概念,既克服了面向对象程序更新只能对类实行一些简单更新的限制,又保证了更新的类型安全性。对于Java程序设计,提出一种可动态更新程序的Java设计方法。实验结果表明,该方法是有效可行的。

关键词: 动态更新事务, 类, 面向对象

Abstract: From the theoretical and practical aspects of starting, the different aspects of Object-Oriented Programme(OOP) dynamic update are researched. The solution method is proposed, and the concept of dynamic update event is introduced, which overcomes the restrains that OOP update is only used to some simple cases, and guarantee the security of updated types. In view of Java programming, a novel design method with dynamic update program is proposed. Experimental results show this method is feasible and effect.

Key words: dynamic update transaction, classes, object-oriented

中图分类号: