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

Facade模式在数据持久层中的应用
引用本文:张俐,张维玺. Facade模式在数据持久层中的应用[J]. 计算机工程与科学, 2011, 33(10). DOI: 10.3969/j.issn.1007-130X.2011.10.019
作者姓名:张俐  张维玺
作者单位:1. 江苏技术师范学院计算机工程学院,江苏常州,213001
2. 江苏技术师范学院电气信息工程学院,江苏常州,213001
基金项目:江苏省高校自然科学基础研究基金资助项目
摘    要:数据持久化工作是企业在进行应用系统开发时首先必须要面对的重要问题。本文在着重分析了门面模式、泛型DAO模式、Hibernate框架和Spring框架的基础上,依据企业实际开发要求,提出了基于Facde模式的数据持久层开发框架,该持久层框架具有组件之间的松散耦合,并且整个持久层框架具备良好的稳定性、可伸缩性和可扩展性。最后成功地将该持久层开发框架应用到某电信客户经理工作管理系统中。

关 键 词:Faade模式  泛型DAO模式  Hibernate框架  Spring框架

Application of the Facade Pattern to the Data Persistence Layer
ZHANG Li,ZHANG Wei-xi. Application of the Facade Pattern to the Data Persistence Layer[J]. Computer Engineering & Science, 2011, 33(10). DOI: 10.3969/j.issn.1007-130X.2011.10.019
Authors:ZHANG Li  ZHANG Wei-xi
Abstract:Data persistence is an important problem of development in the process of designing enterprise application systems.Based on the analysis and comparison of the application of the Faade pattern,the generic DAO pattern,the Hibernate framework and the Spring framework,a universal solution is proposed for the data persistence layer based on the Faade pattern,which makes the loose coupling possible.And the data persistence layer is highly stable,flexible and expansible.Finally,the technology of the data persistence layer is applied to the information system of a telecom customer manager.
Keywords:Faade pattern  generics DAO pattern  Hibernate framework  Spring framework
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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