首页 | 本学科首页   官方微博 | 高级检索  
     检索      

DTO 模式的研究及对其实现的改进
引用本文:朱彬,陈志军.DTO 模式的研究及对其实现的改进[J].沈阳航空工业学院学报,2004,21(4):53-55.
作者姓名:朱彬  陈志军
作者单位:1. 南京邮电学院计算机科学与技术系,中国,南京,210009
2. 东北大学信息科学与工程学院,辽宁,沈阳,110006
摘    要:在多层架构的分布式软件系统中,如何在层间交换数据,采用何种粒度的对象交换数据,是系统构建时经常遇到的问题。作为J2EE核心设计模式之一的数据传输对象模式的提出,就是为了解决该问题的。通过对数据传输对象模式的研究和分析,针对在架构基于Internet的、分布式的企业级应用中所遇到的问题,吸取了多数据传输对象模式的优点,结合工厂模式和策略模式,利用接口来抽象,提出了一种改进的数据传输对象模式的实现方案,并且应用到了实际软件项目中,从实践中证明了该解决方案是满足可插入性的设计原则的。

关 键 词:数据传输对象  设计模式  工厂模式  接口
文章编号:1007-1385(2004)04-0053-03
修稿时间:2004年4月22日

Research and improving implementation for DTO pattern
ZHU Bin,CHEN Zhijun.Research and improving implementation for DTO pattern[J].Journal of Shenyang Institute of Aeronautical Engineering,2004,21(4):53-55.
Authors:ZHU Bin  CHEN Zhijun
Institution:ZHU Bin~1 CHEN Zhijun~2
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.
Keywords:DTO  design pattern  factory pattern  interface
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号