摘要
数据持久化工作是企业在进行应用系统开发时首先必须要面对的重要问题。本文在着重分析了门面模式、泛型DAO模式、Hibernate框架和Spring框架的基础上,依据企业实际开发要求,提出了基于Facde模式的数据持久层开发框架,该持久层框架具有组件之间的松散耦合,并且整个持久层框架具备良好的稳定性、可伸缩性和可扩展性。最后成功地将该持久层开发框架应用到某电信客户经理工作管理系统中。
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 Faqade 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 Faqade pattern, which makes the loose coupling pos sible. 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.
出处
《计算机工程与科学》
CSCD
北大核心
2011年第10期105-110,共6页
Computer Engineering & Science
基金
江苏省高校自然科学基础研究基金资助项目(08KJD520005)