浙江大学硕士学位论文Abstracti基于WCF的外贸ERP业务系统的设计与实现摘要当今,ERP(EnterpriseResourcePlanning,企业资源计划)系统已使许多企业的生产经营管理发生了全新的变化。成功地实施了ERP的企业也从中获得了显著的效益。但是经过这么多年的发展,ERP系统的规模也越来越大,导致维护难度极大。另外,子系统与子系统之间、模块与模块之间互相操作也是困难重重。如何解决这些问题已迫在眉睫。幸好,随着SOA标准的成熟以及支持SOA实现技术的不断发展,SOA在各企业的信息化建设及其各部门业务整合上也具有了一些应用。WCF作为.NET近几年推出的分布式开发技术,融合了之前的.NetRemoting、WebService等相关技术,无疑是.Net平台实现SOA框架的制胜利器。本文首先介绍了分布式开发模型的发展过程,对传统C/S与B/S的特点及基于分布式组件技术的多层B/S开发模型的优缺点进行分析。接下来介绍了SOA,探讨了WebService技术的特点。在此基础上对WCF概念、多层服务模型、通道模型、WCF宿主进行分析。还对外贸ERP业务系统进行了深入的需求分析,最终制定了系统的总体架构。本系统划分为四个层次,分别是表现层、通讯层、业务层和数据层。表现层包括用户界面以及一定量的数据处理;通讯层主要负责客户端和服务器端之间的通讯;业务层主要负责对数据按照一定的商业逻辑进行操作;数据层主要是屏蔽上层业务逻辑与底层数据访问,对数据进行一系列的操作。本系统不仅对以上四个层具有良好的设计,更是成功的实现了以上四层。关键词:ERP系统,WCF,分布式,SOA浙江大学硕士学位论文AbstractiiAbstractToday,productionandoperationandmanagementofmanycompanieshavebeenchangedbyERP(EnterpriseResourcePlanning)system.ThecompaniesthatsucceedwiththeirERP'simplementalwaysgainssignificantbenefits.Butaftersomanyyearsofdevelopment,thesizeoftheERPsystembecomemoreincreasing,leadtoincreasemaintenance.Inaddition,theinteroperationbetweenthesubsystemandthesubsystem,themoduleandthemodule,thatisdifficult.Howtosolvetheseproblemsisimminent.Fortunately,withmatureSOA'sstandardsandtechnologytosupportSOAthatisdeveloping,thereareanumberofapplicationsforSOAbusinessintegrationbetweentheenterpriseinformationconstructionanditsvariousdepartments.NearlyWCFasdistributeddevelopmenttechnologyin.NETtofuseNetRemotingandWebService,undoubtedlyWCFisoptimalweaponin.NETframeworkforSOA.Thisdissertationreviewsthehistoryofdistributedsoftwaredevelopmentmodel,analysesadvantagesanddisadvantagesoftraditionalC/SandB/Smodel,especiallythemulti-tierC/Smodelbasedondistributedcomponent.ThisdissertationintroducesWCFconcept,multi-tierservicemodel,channelmodel,WCFhost.ThereisalsoathoroughrequirementanalysisfortheforeigntradeERPbusinesssystem,finally,establishesoverallstructureofthesystem.Thesystemisdividedintofourlevels,namely,thepresentationlayer,communicationlayer,businesslayeranddatalayer.Presentationlayerincludingacertainamountofdataprocessing;communicationlayerisresponsibleforclientsideandserverside’scommunication;businesslayerismainlyresponsibleforthedataaccordingtocertainbusinesslogictooperate;datalayerisshieldtheupperbusinesslogicandtheunderlyingdataaccess,dealswithaseriesofoperationsonthedata.Thesystemnotonlygooddesignofthefourlayers,butalsosuccessfulrealizationoftheabovefourlayer.KeyWords:ERPsystem,WCF,Distributed,SOA浙江大学硕士学位论文目录I目录摘要...............................................................................................................................iAbstract........................................................................................................................ii目录..............................................................................................................................I图目录.......................................................................................................................IV表目录.........................................................................................................................V第1章绪论................................................................................................................11.1研究背景.............................................................................................................11.2研究内容.............................................................................................................11.3研究的意义.........................................................................................................21.4国内外研究现状.................................................................................................21.4.1国外研究现状..............................................................................................21.4.2国内研究现状..............................................................................................31.5论文的组织结构.................................................................................................41.6本章小结.............................................................................................................4第2章分布式开发模型与WCF技术......................................................................52.1C/S开发模型介绍...............................................................................................52.2B/S开发模式介绍...............................................................................................62.3分布式组件技术.................................................................................................72.4基于分布式组件技术的多层C/S开发模型.....................................................82.5SOA介绍.............................................................................................................82.5.1SOA的体系结构........................................................................................102.5.2WebService简介.........................................................................................112.6WCF技术.........................................................................................