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

资源管理系统轻量级DAO模式的设计与实现
引用本文:徐勇,张中兆,吴斌.资源管理系统轻量级DAO模式的设计与实现[J].吉林大学学报(信息科学版),2004,22(5):521-525.
作者姓名:徐勇  张中兆  吴斌
作者单位:哈尔滨工业大学,航天学院,黑龙江,哈尔滨,150001;金城通信有限公司,吉林,长春,130033
摘    要:为了反复对出现的设计结构进行识别和抽象,得到一个通用的解决方案,实现模式的可重用性,使系统有良好的伸缩性. 在详细分析持久性存储数据访问方式的基础上,提出了轻量级DAO(Data Access Object)模式.在通用DAO模式的基础上,运用Java的反射机制,对DAO进行了深一步抽象.在满足数据库变迁松耦合问题的同时, 解决了数据库设计发生改变时,DAO重新设计和编写问题, 提高了系统的适应能力. 模式已应用于省级电信传输资源管理系统中,缩减了项目实施周期,提高了系统开发效率.

关 键 词:J2EE框架  轻量级数据访问对象  值对象  Java数据连接
文章编号:1671-5896(2004)05-0521-05
修稿时间:2004年7月12日

Design and implementation of the lightweight DAO mode of resource management system
XU Yong,ZHANG Zhong-zhao,WU Bin.Design and implementation of the lightweight DAO mode of resource management system[J].Journal of Jilin University:Information Sci Ed,2004,22(5):521-525.
Authors:XU Yong  ZHANG Zhong-zhao  WU Bin
Institution:XU Yong~1,ZHANG Zhong-zhao~1,WU Bin~2
Abstract:To identify and abstract the repeating programming structure, and to get a universal solution to reuse the mode and to offer the system a good flexibility,the lightweight DAO (Data Access Object) mode is put forward based on the particular analysis of the persistent storage's access mechanisms. On the base of the general DAO patterns, the Java reflect mechanisms is used to farther abstract the DAO. While the database loose-coupling is satisdfied, the redesigning and recompiling of the DAO is solved when the database design has been changed, the response capability can also be improved. The design that the view tier to the control tier data exchange and relation data to Java object mapping is done by the mode. The work efficiency of the system can be improved and the project cycle can be reduced by applying the mode in the telecom transmission resources management system at the province level.
Keywords:Java 2 edition enterprise(J2EE) frame  lightweight data access object(DAO)  value object  Java database connectivity(JDBC)  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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