如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
哈尔滨工业大学工程硕士学位论文摘要本课题来源于为新思维信息技术有限公司开发的集中交易系统,项目名称为“东莞证券集中交易系统”,客户希望通过集中交易系统使管理上一个层次。为了解决老系统不易维护和性能上不易扩展的问题,集中交易系统需要新的框架。新系统总体结构应用的是经典的分层模式,主要分表示层、业务层和数据层,业务层和数据层构成后台服务。本文主要研究总体结构的核心,后台服务的框架,详细阐述了框架的设计及其实现。该框架的主要作用是O/RMapping功能和集中式事务。O/RMapping功能为在业务层利用面向对象的设计方法提供支持,面向对象使业务逻辑清晰准确,易于复用和维护。利用操作单元模式的集中式事务减少了对数据库资源的占用,业务逻辑放在应用服务器中减轻了数据库的负荷,无状态的应用服务使提高应用服务器扩展性能成为可能。东莞证券集中交易系统已于2005年2月上线,框架在系统构建测试及后期维护中,其作用已被验证。另外,这应是国内首例,NET环境下具有O/RMapping功能和集中式事务的框架。本文还研究了业务层的框架设计和测试框架设计。在业务层应用职责层的模式,为业务包的分类及关系提供了依据和思考的方向;建立在Nunit上的简单测试框架成为后台服务自动测试的基础。由于企业应用在软件技术方面的相似性,该应用框架可复用到其它的企业应用中。关键词框架;面向对象;集中交易哈尔滨工业大学工程硕士学位论文AbstractThisworkiscomefromacentralizedtradingsystemnamedDongGuanSecuritiesCentralizedTradingSystemdevelopedbytheSyswayInformationTechnology,Ltd.Thecustomersthinkthenewsystemcouldupgradetheirmanagement.Thecentralizedtradingsystemneedsanewframeworkeasytoexpandinfunctionandcapabilitywhiletheoldsystemcannotaford.Theglobalarchitectureofthenewsystemistheclassicallayeringarchitecture.ThelayersarePresentation,DomainandDataSource.TheapplicationservicesconsistoftheDomainandDataSourcelayer.Theheartofthenewarchitectureresearchisaframeworkoftheapplicationserver.Thedetailsofthedesignandimplementingisexplainedinthisarticle.TheO/RMappingandtheUnitofworkintheframeworkisthinkedasmainfunctions.The00designfordomainlayerneedsO/RMapping.Theconceptionofthedomainlogicwith00isclearandprecision,easytobereusedandmaintained.TheUnitofworkcanavoidmultipledatabasecalls.Putingthedomainlogicinapplicationserversinsteadofthedatabaseserverlessentheoppressivenessofthedatabaseserver.Thestatelessserviceintheapplicationservermakeclusteringpossible.DongGuanSecuritiesCentralizedTradingSystemwaslaunchedinFebruary,2005.Theframeworkworkedinthedeveloping,testingandmaintaining.ThisframeworkwithO/RMappingandtheUnitofworkfunctiondevelopedon.NETFrameworkistheonlyoneIknowinourcountry.Theframeworkofthedomainlayerandthetestingframeworkismentionedinthispaper.Theresponsibilityla