摘要
针对目前大多数高校迫切的校园网异构数据资源整合需求,文章提出了一套基于设计模式的有效解决方案.Facade外观设计模式使得校园应用子系统具有一个一致的访问异构数据库资源的界面,提高了数据访问方式的灵活性.Singleton单例设计模式的使用提高了应用程序与数据库的互访效率,而且增强了系统的稳定性.该方案具有独立于应用层开发语言、提高数据访问方式的灵活性,提高系统的可移植性和扩展性等优点.
Aimed at the urgent needs of integrating heterogeneous data resources for most college campus,the paper gived a practical solution based on design patterns.Facade design pattern provided a consistent interface of accessing the heterogeneous database resources of the campus application subsystem and made the data access layer more flexible.Singleton design pattern improved the efficiency of processing data resource in the database,and enhanced the stability of the system.The solution had many adantages,such as development language-independent.It made the data access layer more flexible,and improved the portability and scalability of system.
出处
《吉林师范大学学报(自然科学版)》
2011年第4期105-107,共3页
Journal of Jilin Normal University:Natural Science Edition
基金
吉林省教育厅"十二五"科学技术研究项目(2011415)