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

计算机工程 ›› 2007, Vol. 33 ›› Issue (18): 48-50. doi: 10.3969/j.issn.1000-3428.2007.18.017

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

面向Java的对象行为建模及可视化方法

贾晓霞1,吴 际1,李郭欢2,金茂忠1   

  1. (1. 北京航空航天大学计算机学院,北京 100083;2. 西南通信研究所,成都 610041)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-20 发布日期:2007-09-20

Java-oriented Object Behavior Modeling and Visualization Method

JIA Xiao-xia1, WU Ji1, LI Guo-huan2, JIN Mao-zhong1   

  1. (1. School of Computer, Beijing University of Aeronautics and Astronautics, Beijing 100083; 2. Southwest Communication Institute, Chengdu 610041)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-20 Published:2007-09-20

摘要: 程序行为的描述和“可视化”方法是理解程序的重要手段。该文基于对象的方法调用和被调用序列,描述了对象生命周期内的行为,定义了Java对象生存期行为模型,并使用活动树进行可视化。实例分析表明,LBM可以帮助用户理解不同对象行为间的差异。

关键词: 对象行为建模, 软件可视化, Java

Abstract: How to describe and visualize the program behavior is an important measure to comprehend the program. This paper presents a novel object behavior model named lifetime behavior model based on the method invocation and invocated sequence of object, and visualizes the model in LBMTree. The model and visualization is displayed through a demo program, which demonstrates that the LBM is helpful to understand the differences between the different objects.

Key words: object behavior modeling, software visualization, Java

中图分类号: