欢迎来到天天文库
浏览记录
ID:35123162
大小:3.17 MB
页数:86页
时间:2019-03-19
《试论基于mda的方面建模与变换的研究》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、分类号密级单位代码学号冬肥工学火警HefeiUniVersityofTbchnoIogy10359b21427459硕士学位论文MASTERDISSERTATloN论文题目:学位类别:学科专业:(工程领域)作者姓名:基于MDA的方面建模与变换的研究学历硕士计算机软件与理论刘磊导师姓名:奎!坠抖型麴撞完成时间:塑§堡垒旦旦一基于MDA的方面建模与变换的研究摘要MDA是OMG提出的以模型为中心的开发方法学。基于UML等工业标准,MDA可以创建出机器可读和高度抽象的模型.这些模型独立于实现,以标准化的方式存储,可以被重复访问和交换。AOP发展了关注点分离的原理,在面向对象的基础上,进一步将
2、横切关注点分离为方面模块,从而使得软件更容易编写、理解、重用和修改。AOP正在发展成为面向方面的软件开发方法,以将其优势体现于整个软件开发周期。本文旨在将面向方面和MDA相结合,在MDA的框架下增加对方面的支持。主要研究工作有:(1)介绍MDA的基本原理,讨论MDA的四个核心标准:uML、MOF、cwM与xMI。阐述面向方面的基本概念和关注点分离原理,以及面向方面的特点。(2)根据在MDA下进行面向方面建模的需要,对uML元模型进行扩展,建立方面PIM的元模型和基于AspectJ的元模型,在MDA中引入方面模型以进行面向方面建模。(3)提出方面PIM到方面PsM的模型变换框架,基于元
3、模型定义了方面PIM到方面PSM的变换规则,以支持模型驱动的砸向方面的开发。(4)给出实际的开发实例,使用已有的开发工具OptimalJ和AspectJ验证了面向方面建模的可行性及变换规则的适用性。关键词:模型驱动袈构(MDA),面向方面,AoP,AoM,元模型ResearchofAspectModelingandTransformationBasedonModel—DrivenArchitectureAbstractionMDAisanewMethodologyforsoftwaredeVelopment,whichiscenteredonmodels.Itisin.tiatedb
4、ylheobjectManageGroup.BasedonuMLandotherstandard,MDAcancreatetheabstractmodelsthatwillbeunderstoodbycomputer,Thesemodelsareindependentofconcreteplatformtechnologyandstoredinastandardway.Sotheycanberevisiedandreused.BasedonObject-Oriented,AOPwentf.urtherontheprincipleofConcernSeparation.Itsepara
5、testhecrosscuttingconcernsintheindependent8spectmodular.Thisbringsthefeasibilityofeasiercoding,understanding,reusingandreVisinginsoftwaredeVelopment.AOPhasnowmaturedtobecomeacompletemethodolOgy,hopingtopresentitsbenefitsinthewholedevelopmentcycle.Weproposeawaytobindthesetwomethodologies,tosuppo
6、rtaspectinMDA.Themainwor王【sareIistedasfoiiowings:(1)studytheprincipleandbasicspecificationsofMDA,suchasuML,MOF,XMIandCWM.DescribetheprincipleOfConcernSeparationandconceptsofAspect—Oriented.SummerizethefcaturesofAspect-0riented.(2)AccordingtotberequirementsforaspectmodelinginMDA,extendthemetamod
7、elofUMLtobuildupmetamodeIsforaspectPIMandmetamodelsbasedonAspectJ.IntroduceaspectmodelstoMDAfbraspect—orientedmodeling.(3)Putforwardaframeworkforaspectmodeltransformation.DefinethetransformationfromPIMtoPSMbasedonmetamodel,forthep
此文档下载收益归作者所有