节点文献

DTO模式的研究及对其实现的改进

Research and improving implementation for DTO pattern

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 朱彬; 陈志军;

【Author】 ZHU Bin~1 CHEN Zhijun~2 (1.Department of Computer Science & Technology,Nanjing Universitg of Post and Tele communications,Jiangsu Nanjing 210009;2. School of lnformation Science and Engineering , NorthEastern University,Liaoning Shenyang 110045 )

【机构】 南京邮电学院计算机科学与技术系; 东北大学信息科学与工程学院 中国南京210009; 辽宁沈阳110006;

【摘要】 在多层架构的分布式软件系统中 ,如何在层间交换数据 ,采用何种粒度的对象交换数据 ,是系统构建时经常遇到的问题。作为J2EE核心设计模式之一的数据传输对象模式的提出 ,就是为了解决该问题的。通过对数据传输对象模式的研究和分析 ,针对在架构基于Internet的、分布式的企业级应用中所遇到的问题 ,吸取了多数据传输对象模式的优点 ,结合工厂模式和策略模式 ,利用接口来抽象 ,提出了一种改进的数据传输对象模式的实现方案 ,并且应用到了实际软件项目中 ,从实践中证明了该解决方案是满足可插入性的设计原则的

【Abstract】 It is a common problem for the designer to exchange data in different layers and use which kind of granularity in multi-layers architecture software system . As one of the core patterns of J2EE , data transfer object pattern is presented to solve the problem. Based on the practical problem faced when constructing a distributed enterprise application on internet and the research and analysis of data transfer object pattern , this paper put forward an improved solution plan which uses interface to abstract from factory pattern and strategy pattern . The solution has been used in actual software project and proved that it is feasible and can meets the requirement of design rule well.

【关键词】 数据传输对象; 设计模式; 工厂模式; 接口;
【Key words】 DTO; design pattern; factory pattern; interface;
  • 【文献出处】 沈阳航空工业学院学报 ,Journal of Shenyang Institute of Aeronautcal Engineering , 编辑部邮箱 ,2004年04期
  • 【分类号】TP393.09;TP312
  • 【被引频次】12
  • 【下载频次】76
节点文献中: 

本文链接的文献网络图示:

本文的引文网络