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

计算机工程 ›› 2006, Vol. 32 ›› Issue (21): 55-57,8. doi: 10.3969/j.issn.1000-3428.2006.21.020

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

Web平台无关模型到J2EE平台模型的转换

侯金奎,万建成,冯仕红   

  1. (山东大学计算机科学与技术学院,济南 250061)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-11-05 发布日期:2006-11-05

Transformation from Web Platform Independent Model to J2EE Platform Model

HOU Jinkui, WAN Jiancheng, FENG Shihong   

  1. (College of Computer Science and Technology, Shandong University, Ji’nan 250061)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-11-05 Published:2006-11-05

摘要: 平台无关模型到平台相关模型的转换是OMG提出的模型驱动架构(MDA)中的关键技术。综合当前J2EE平台下广泛使用的多种应用框架,提出了一种包括静态模型、行为模型和展示模型3个部分的J2EE平台相关模型,将其作为目标模型并按结构定义、映射规则实现模型转换。该文描述了一种Web平台无关模型到J2EE平台模型的转换,体现了模型驱动开发的优点,提升了开发层次,由于受目标应用领域和特定技术对该模型限制较小,因此其具有较好的通用性。

关键词: 模型驱动架构, 平台无关模型, 平台相关模型, 模型映射规则

Abstract: The transformation from PIM to PSM plays a key role in OMG’s MDA. Referring to the Web application frameworks on J2EE, this paper provides a platform specific model composed of three parts(static model, action model and presentation model). Then we consider it as the target model and defines mapping rules according to its structure to realize model transformation. It provides the mapping rules in a formalized way to support mapping from a kind of platform independent model for Web application to PSM. The resolution represents the advantages in MDA and abstracts the development level. It can be used widely for suffering little from the domain and techniques of target applications.

Key words: Model driven architecture(MDA), Platform independent model, Platform specific model(PSM), Model mapping rule

中图分类号: