期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
A New DAO Pattern with Dynamic Extensibility
1
作者 Cheng Fang Ping Zeng 《Journal of Electronic Science and Technology of China》 2007年第3期212-214,共3页
Currently existing data access object (DAO) patterns have several limitations. First, the interface of the patterns and business objects is tightly-coupled, which affects seriously the dynamic extensibility of softw... Currently existing data access object (DAO) patterns have several limitations. First, the interface of the patterns and business objects is tightly-coupled, which affects seriously the dynamic extensibility of software systems. Second, the patterns have duplicated implementation codes, which add to difficulties of system maintenance. To solve these problems, a new DAO pattern with stronger independency and dynamic extensibility is proposed in this paper. An example is given to illustrate the using process of the new DAO pattern. The greatest advantages of the new DAO pattern are as follows. If any business object is needed to add to the system, we do not have to modify any codes of the class DAO Factory. All we need to do is to modify the mapping file. Furthermore, because we have only one DAO implementation class to accomplish all the data access to business objects, if some SQL statements are needed to be modified, all we need to do is to modify the DAO implementation class but not need to modify any business objects. 展开更多
关键词 data access object (DAO) data binding meta model pattern.
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部