方面化重构与测试在电子商务平台性能监控系统中应用-application of facet reconstruction and testing in performance monitor system of e-commerce platform.docxVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
方面化重构与测试在电子商务平台性能监控系统中应用-application of facet reconstruction and testing in performance monitor system of e-commerce platform
摘要摘要在企业级应用和实际开发中,面向方面技术得到了广泛的应用,面向对象技术在处理对象级的一般性行为的建模的功能非常强大的,而面向方面技术在跨越多样无关联的对象建模中一般性行为的处理上具有优势,他们彼此互补,各有所专。面向方面的重构包括将遗产系统中横切关注的代码从基本代码中分离出来,并封装成方面化的过程。方面化重构为横切关注代码的模块化做出了贡献,提高遗产系统的可维护性。首先,本文总结了面向方面编程、方面化重构和测试的研究和应用的现状、面临的问题、今后发展方向,对方面化重构和测试技术做了深入的研究,提出了方面化重构和测试的一般方法和步骤。然后,将这一方面化重构步骤和框架应用到实际的电子商务物流平台性能监控系统的方面化重构中。最后,本文给出了重构前后系统运行性能的对比。编译和编织耗时较长、缺乏适当的面向方面编程测试技术、脆弱切入点问题是企业级应用方面化重构遗产系统的三大挑战。在本文的方面化重构和测试的框架中:基于桩和模拟系统的孤立测试框架减少了编译和编织耗时;分别测试基本代码和横切关注代码保证了方面化重构的安全性;Annotation框架避免了脆弱切入点问题。在这个方面化重构项目中我们采用SpringAOP和JUnit来进行方面化重构和测试,并创新性的解决了对表示层进行方面化重构的难题。方面化重构大大简化了为后续电子商务物流平台新的业务模块添加性能监控代码的工作;提高了性能监控代码的可维护性;使得性能监控系统与其他系统的交叉代码更少;降低了性能监控模块和业务模块程序员之间的沟通成本。虽然在测试环境中系统效率较原系统低5.6%,但是符合系统需求。关键词:AOP,方面化重构,AOP测试ABSTRACTABSTRACTIntheenterpriseapplicationandtheactualsoftwaredevelopment,aspect-orientedprogramming(AOP)achievesawiderangeofapplications.Object-orientedprogrammingispowerfulindealingwithobject-levelofgeneralbehaviormodeling,whileaspect-orientedprogramminghasanadvantageinhandlingthegeneralbehaviorofacrossdiverseunrelatedobjectModeling.Theycomplementoneanother,eachhasexpertise.RefactoringlegacysystemswithAspectscalledAspectualizationincludesprocessofseparatingcross-cuttingconcerncodefromthebasiccode,andpackagingthecross-cuttingconcerncodeasAspect.Aspectualizationmakesacontributionofthemodularityofcross-cuttingconcerncodeandthemaintainabilityoflegacysystems.Firstofall,thethesissummarizestheresearchandapplicationstatus,thefacingproblems,andthefuturedirectionofaspectualizationanditstestingtechnology.Andthendoanin-depthstudyofaspectualizationanditstestingtechnology.Thirdly,proposeageneralapproachandstepsofaspectualizationanditstestinginactualprojects.Fourthly,weapplytheproposedapproachandstepstotheaspectualRefactoringfortheperformancemonitoringmoduleofanactuale-commercelogisticsplatform.Finally,thisthesispresentsacomparisonofthebeforeandafterperformanceassessments.Longtime-consumingcompilerandweaving,thelackofpropertestingAOPtechnology,fragilepointcutproblemarethe3mainchallengesforen
您可能关注的文档
- 法国漫画大师桑贝的艺术作品分析-analysis of french cartoonist sang bei's artistic works.docx
- 法汉谚语互译的文化翻译策略分析-cultural translation strategies of mutual translation of french and chinese proverbs.docx
- 法律视角下社区戒毒康复工作之探讨——以厦门市为样本的分析-discussion on community drug rehabilitation from the perspective of law - an analysis of xiamen city as a sample.docx
- 法律文本的可译性与不可译性 兼论法律翻译的策略-translatability and untranslatability of legal texts and strategies of legal translation.docx
- 法律文本中回指的认知分析-cognitive analysis of anaphora in legal texts.docx
- 法律英语多义词的认知理据与翻译对策分析-an analysis of cognitive motivation and translation strategies of legal english polysemy.docx
- 法律英语课程教学设计分析-analysis of teaching design of legal english course.docx
- 法律秩序存在之社会情境——评昂格尔的中西法治比较研究-social context in which legal order exists - comment on unger's comparative study of chinese and western legal system.docx
- 法舒地尔对弥漫性脑损伤大鼠camkiitak-1通路的影响-effects of fasudil on camkiatsk - 1 pathway in rats with diffuse brain injury.docx
- 法舒地尔对表达于hek293细胞的kv7.4钾离子通道调节作用与机制的研究-study on the regulatory effect and mechanism of fasudil on kv 7.4 potassium channel expressed in hek 293 cells.docx
- 方管节点支撑在钢框架中合理布置形式分析-analysis of reasonable arrangement of square tube joint support in steel frame.docx
- 方氏云鳚和云鳚的形态学与遗传学分析-morphological and genetic analysis of siniperca chuatsi and siniperca chuatsi.docx
- 方向dct及其在h264视频编码中的应用研究-research on directional dct and its application in h264 video coding.docx
- 方回《瀛奎律髓》之格高 韵味论研究-research on fang hui's.docx
- 方向图可重构mimo天线选择系统的性能分析-performance analysis of pattern reconfigurable mimo antenna selection system.docx
- 方坯中间包钢水流动状态和传热的分析-analysis of water flow and heat transfer in tundish of square billet.docx
- 方形排布管束流体弹性不稳定性分析-analysis of fluid elastic instability of square tube bundle.docx
- 方阵幂可验证安全云计算外包方案分析-analysis on outsourcing scheme of square array power verifiable secure cloud computing.docx
- 方酸菁染料的合成与近红外吸收性能研究-synthesis and near infrared absorption of squaraine dyes.docx
- 方形冷弯中厚壁钢管混凝土短柱承载力分析-bearing capacity analysis of square cold-formed medium-thick wall cfst short columns.docx
原创力文档


文档评论(0)