摘要
提出一种基于元模型和UML Profile的模型转换方法。利用UML Profile来描述基于SSH整合框架系统的PIM和PSM,解决了基本的建模语言不能完整地描述出J2EE主流框架下的平台相关模型的问题。提出了一个能适合SSH整合框架的Web应用层次结构作为PIM元模型,解决元模型间映射规则的复杂、难以匹配的问题。利用基于元模型的模型转换方法制定PIM元模型到PSM元模型的转换规则,间接实现PIM到PSM的模型转换。
This paper provides a model transformation method which based on the recta-model and the UML Profile, describe the PIM and PSM system based on Struts, Spring and Hibernate(SSH) integration framework by the UML Profile. The method solves the problem of the basic modeling language can't descript the PSM based on the J2EE mainstream framework. This paper also proposes a Web application hierarchy as a PIM recta-model which suitable for the SSH framework, solve the problem of complex mapping rules between element model. Then use the model transformation method to formulate model transformation rules to transform the PSM to the PSM.
出处
《微型机与应用》
2012年第17期11-14,17,共5页
Microcomputer & Its Applications