Design and Implementation of Data Access Layer Based on Design Pattern
The web system exists different data sources to access, and each data source has specific access ways. According to design patterns and Open-Closed Principle, data access layer is designed that connects business layer to access data layer. The data access layer is realized by factory method and reflection mechanism. In the factory method, reflection mechanism is used to read key-value pairs of the configuration file, and data access class instance is dynamically generated so that the system has a better general performance, scalability and maintainability.
data access layer design pattern factory method fa?ade pattern reflection mechanism configuration file
Zhimin Li Xiangdong Li Minjie Xia
School of Computer Science Zhongyuan University of Technology ZhengZhou.China
国际会议
太原
英文
98-100
2010-10-22(万方平台首次上网日期,不代表论文的发表时间)