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

Spring框架对数据持久化的支持与实现
引用本文:胡银保,张瑞虹.Spring框架对数据持久化的支持与实现[J].兰州工业高等专科学校学报,2012(6):15-19.
作者姓名:胡银保  张瑞虹
作者单位:[1]兰州工业学院网络中心,甘肃兰州730050 [2]甘肃省计算中心,甘肃兰州730000
摘    要:O/R Mapping技术有效地解决了数据持久化问题.Spring框架支持ORM技术,它的SpringDAO和Spring ORM功能提供了对Hibernate框架的深入支持.通过XML配置文件描述Bean对象及其依赖关系,Spring利用IoC容器实现了Bean的装配与控制;同时通过建立POJO映射形成了ORM的体系结构.掌握基于Bean容器的开发模式,使控制层、逻辑层及数据层实现充分解耦,是Spring开发工作的核心.

关 键 词:ORM技术  数据持久化  Spring框架  控制反转  POJO映射

Supporting and Implementing for Persistency of Data by Spring Frame
HU Yin-bao,ZHANG Rui-hong.Supporting and Implementing for Persistency of Data by Spring Frame[J].Journal of Lanzhou Higher Polytechnical College,2012(6):15-19.
Authors:HU Yin-bao  ZHANG Rui-hong
Affiliation:1. The Net Centre of Lanzhou Institute of Technology, Lanzhou 730050, China; 2. Gansu Computing Center, Lanzhou 730000, China)
Abstract:The technology of O/R Mapping solves the problem of persistency of data. Spring frame supports ORM technology. Itg functions of Spring DAO and Spring ORM provide exhaustive backing for Hibernate frame. Describing the Bean objects and dependency relationship between them with XML configuration files, Spring frame implements assembling and controlling the bean objects by IoC container, and forms structure of ORM by building POJO mapping. Mastering the developing model based on Bean container which realizes decouple ade quately among control layer, logic layer and data layer is the central work of Spring development.
Keywords:ORM technology  persistency of data  Spring frame  inversion of control  POJO mapping
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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