基于CSLA与CAB的养老金精算系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
当前通过结合使用微软.NET框架与第三方框架开发构建企业级应用系统已越来越普遍。CSLA是一个基于.NET框架的第三方应用程序框架,其设计目标是支持一个完全意义上的面向对象编程模型、提供高可伸缩性和良好性能、以及简化.NET一些复杂主题;微软CAB为开发智能客户端程序提供了良好的支持,松散耦合与“模型-视图-展示器”模式运用是其最大的特点。
     本文重点研究了如何应用.NET框架、CSLA框架、CAB框架以及其它技术构建和设计开发养老金精算系统,并针对框架实际运用中产生的问题一一提出具有创新意义的解决方案。主要工作包括了:
     1.应用CSLA框架设计实现养老金精算系统的业务逻辑层。通过使用和扩展CSLA提供的对象模板设计出满足实际需求的对象关系模型。本文以系统中假设参数对象模型作为典型示例进行阐述。利用CSLA提供的命令对象模板设计出的批量保存参数功能有效解决了因编辑参数过多而导致保存动作过于频繁的问题。
     2.应用CAB框架设计实现养老金精算系统的展示层。本文以假设参数树形管理器组件为例,描述了CAB框架强调的MVP模式与松散耦合思想在展示层设计中的实现。
     3.提出在网络间传输压缩数据的解决方案,以解决使用CSLA数据门户进行数据传输时数据量过大引起的性能问题。该解决方案通过使用压缩管理器封装GZip压缩算法和客户端/服务器两端可配置压缩管理实现。
     4.应用企业库和SQL Server提供的原生XML数据类型保存对象数据,实现领域对象的持久化,为数据管理、维护和扩展提供更好的灵活性。
     5.结合.NET、CSLA与微软活动目录实现系统安全。
     6.应用XML技术实现多国家支持模式,消除了大量根据国家信息创建对应对象的流程控制语句,提高了代码的可读性与可维护性。
Recently it is more and more popular to use Microsoft.NET Framework andthird party frameworks to develop and build enterprise application. CSLA is athird-party application framework based on.NET. The goals of CSLA are to support afull object oriented programming model, to enable high scalability, to enable highperformance, and to simply some complex issues of.NET. Microsoft CAB supportsdevelopment of Smart Client program well. Loose coupling and usage of“Model-View-Presenter” pattern are the biggest features of CAB.
     The thesis focuses on researching how to use.NET, CSLA, CAB and othertechnology to build, design and develop a pension actuarial system, and givescorresponding innovative solutions for the issues found in process of usingframeworks. The major job includes:
     1. Use CSLA to design and implement business logic layer of pension actuarialsystem. Using and extending object templates provided by CSLA could design theobject relationship model to meet requirements. The thesis takes Assumptionsparameters model as the typical example to demonstrate. The functionality of batchparameters saving designed by CSLA command object template could solve the issueof frequently parameters saving effectively.
     2. Use CAB to design and implement presentation layer of pension actuarial system.The thesis takes Assumptions explorer tree component as the example to describe theimplementation of MVP pattern and loose coupling idea emphasized by CAB.
     3. Give the solution for transferring compressed data on network to solve theperformance issue when sending large quantity of data by CSLA data portal. It achieves by using Compression Manager to encapsulate GZip compression algorithmand configurable compression management in both client and server.
     4. Use Enterprise Library and native XML data type provided by SQL Server tostore object data to achieve domain object’s persistence and provide better flexibilityfor data management, maintenance and extension.
     5. Integrate.NET, CSLA and Microsoft Active Directory to achieve system security.
     6. Use XML to achieve multi-country supported pattern to eliminate a large amountof code of creating corresponding objects per country information. It improvesreadability and maintenance of code.
引文
[1]殷菲,英美养老保险制度比较及其对中国的启示,四川大学,2009;
    [2]孙禄杰,浅析美国养老金计划,北京航空航天大学,2005;
    [3]Anders Hejlsberg等著,张晓坤等译,《C#编程语言详解》电子工业出版社,2004;
    [4]MSDN ADO.NET,http://msdn.microsoft.com/en-us/library/aa286484.aspx;
    [5]MSDN Windows窗体概述,http://msdn.microsoft.com/zh-cn/library/8bxxy49h.aspx;
    [6]维基百科Windows Forms,http://zh.wikipedia.org/zh-cn/Windows_Forms;
    [7]Jeffrey Richter著,周靖译,《CLR via C#(第3版)》清华大学出版社,2011;
    [8]Rockford Lhotka著,《Expert C#2005Business Objects》 Apress,2006;
    [9]Rockford Lhotka著,《Expert C#2008Business Objects》 Apress,2009;
    [10]Martin Fowler著,王怀民、周斌译,《企业应用架构模式》机械工业出版社,2005;
    [11]Adam Freeman&Allen Jones著,靳京译,《.NET安全编程》清华大学出版社,2007;
    [12]Diws,Building Smart Client using.NET,2004;
    [13]David S.Platt,《Programming Microsoft Composite UI Application Block andSmart Client Software Factory》,Microsoft Press,2007;
    [14]Mark Priestley著,《面向对象设计的UML实践》清华大学出版社,2003;
    [15]储亮,基于MVC模式的仓库管理系统与设计,北京工业大学,2007;
    [16]Dino Esposito&Andrea Saltarello著,陈黎夫译,《Microsoft.NET企业级应用架构设计》人民邮电出版社,2010;
    [17]Russ Miles&Kim Hamilton著,汪青青译,《UML2.0学习指南》清华大学出版社,2007;
    [18]秦雷雷、孙彬,原型法改进初探,华北水利水电学院,2005;
    [19]郑人杰等著,《实用软件工程》清华大学出版社,2001;
    [20]张展展,外籍教师聘用管理信息系统的设计与实现,北京邮电大学,2008;
    [21]Wikipedia Client-server model,http://en.wikipedia.org/wiki/Client-server#See_also;
    [22]Abraham Silberschatz等著,杨冬青等译,《数据库系统概念》机械工业出版社,2008;
    [23]温昱著,《软件架构设计》电子工业出版社,2007;
    [24]Chris Brooks等,Data Access Application Block for.NET,http://www.microsoft.com/china/MSDN/library/EnterpriseDevelopment/BuildDistApp/Vsdnbdadaab_rm.mspx?mfr=true;
    [25]庄家蔚,基于Web Service的物流管理信息系统的研究与实现,厦门大学,2009;
    [26]Erich Gamma等著,《设计模式-可复用面向对象软件的基础(英文版)》机械工业出版社,2010;
    [27]Robert C. Martin&Micah Martin著,邓辉孙鸣译,《敏捷软件开发:原则、模式与实践(C#版)》人民邮电出版社,2008;
    [28]Martin Fowler,Inversion of Control Containers and the Dependency InjectionPattern,http://martinfowler.com/articles/injection.html,2004;
    [29]Stefan Pettersson, Enterprise Application Development using DependencyInjection and Aspect-Oriented Programming,2009;
    [30]MSDN UserControl,http://msdn.microsoft.com/zh-cn/library/system.windows.forms.usercontrol(v=VS.80).aspx;
    [31]Juval Lowy著,刘如鸿译,《.NET组件程序设计》电子工业出版社,2007;
    [32]甄镭著,《.NET与设计模式》电子工业出版社,2005;
    [33]RFC1952GZip file format specification version4.3,http://www.gzip.org/zlib/rfc-gzip.html;
    [34]胡百敬姚巧玫著,《SQL Server2005数据库开发详解》电子工业出版社,2006;
    [35]Wikipedia Domain Name System,http://en.wikipedia.org/wiki/Domain_Name_System;
    [36]RFC882DOMAIN NAMES-CONCEPTS AND FACILITIES,http://tools.ietf.org/html/rfc882;
    [37]Wikipedia Microsoft DNS,http://en.wikipedia.org/wiki/Microsoft_DNS;
    [38]Wikipedia Active Directory,http://en.wikipedia.org/wiki/Active_Directory;
    [39]朱晓晨,组策略在机房管理系统中的应用,东北大学,2008;
    [40]Schema,http://www.w3.org/standards/xml/schema;

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700