文档介绍:国内图书分类号: TP315
国际图书分类号:
工学硕士学位论文
基于 ACXML 的应用层软构件生成器的研究
与设计
硕士研究生: 杨美荣
导师:战德臣教授
申请学位: 工学硕士
学科、专业: 计算机科学与技术
所在单位: 计算机科学与技术学院
答辩日期: 2006年6月
授予学位单位: 哈尔滨工业大学
Classified Index: TP315
.:
A Dissertation for the Master Degree in Engineering
RESEARCH AND DESIGN OF
PONENT
GENERATOR BASED ON ACXML
Candidate: Yang Meirong
Supervisor: Prof. Zhan Dechen
Academic Degree Applied for: Master of Engineering
Affiliation: School puter Science and
Technology
Date of Defence: June, 2006
Degree-Conferring-Institution: Harbin Institute of Technology
哈尔滨工业大学工学硕士学位论文
摘要
企业应用软件必须具备快速重构的能力以适应业务环境的频繁变化,而
“灵活可变的业务模型+代码生成器”是实现系统敏捷性的一个有效手段。
本文首先基于重构的思想,以业务对象间数值型关联关系为出发点,提
出一种基于日志的业务对象关联模型,将对象间关联关系与业务对象清晰分
离开来,采用简单操作处理对象内业务逻辑,采用复合操作处理对象间的数
值关联关系。然后结合应用程序的设计模式定义了模型描述语言,描述面向
业务对象的平台无关模型信息,并设计建模工具完成对平台无关模型的建
立。
然后根据平台无关模型及 J2EE 平台特征设计模型转换规则,描述如何
把平台无关模型转换为加入了 J2EE 平台信息的平台相关模型。
在此基础上设计并实现了代码生成器,完成平台无关模型到平台相关模
型和平台相关模型到代码的自动转换,以支持在模型变化之后系统行为的快
速变化和代码的自动生成,并在对象状态与关联日志的支持下实现企业业务
数据的灵活追溯。
最后,为验证上述研究的正确性和完整性,利用业务对象建模工具和代
码生成器,以采购系统为例,完成对业务对象平台无关模型的建立和最终可
执行代码的生成。
关键词 MDA;PIM;代码生成器
- I -
哈尔滨工业大学工学硕士学位论文
Abstract
Enterprise software and applications (ESA), ., ERP, CRM, SCM, must
have the ability of agile reconfiguration to adapt to rapid changes in external
business environments, while “flexible business models + code generation tools”
is an effective approach to achieve adaptability and agility of ESA.
In this dissertation, Based on the thinking of reconfiguration, starting from
the numerical associations between business objects, we present a log-Based
object association model, in plex and volatile associations between
objects are clearly separated from the inner structure of objects themselves.
Business logics on objects are classified into two types of operations, ., simple
operations that deal with inner logics in a simple obj