下载此文档

基于J2EE的高速精密磨削数据共享系统数据持久层解决方案.doc


文档分类:通信/电子 | 页数:约6页 举报非法文档有奖
1/6
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/6 下载此文档
文档列表 文档介绍
基于 J2EE 的高速精密磨削数据共享系统数据持久层解决方案摘要:以国家高速精密磨削共享系统建设为背景,讨论了该系统数据持久层的设计方案, 对目前主流的持久层解决方法进行了比较,提出了基于 J2EE 框架的 Hibernate 解决方案, 并对该方案的优势进行了说明。关键词:高速精密磨削数据共享系统;ORM ;Velocity ;Hibernate ;Hibernate Synchronizer ; Hibernate extension ;持久化; Solution for data-share system of high -speed & precision grinding based on J2EE Zhang Meng Hua , Sheng Xiao Ming , Huang Hong Wu (1 ,2. College of Mechanical And Automotive Engineering , Hunan Universit y), Changsha Hunan 410082 , Ch ina; 3. Xiamen University of Technology , Xiamen Fujian 361005 , China) Abstract :Based onthe construction ofNational data-share system ofhigh -speed &precision grinding ,the design ofdata persistence layer ofthe system was discussed inthis paper .paring some main solutions for data persistence layer currently ,the Hibernate solution based onJ2EE was put forward ,and the advantages ofthe Hibernate solution were described . Key words :data-share system ofhigh -speed &precision grinding ;ORM ;Hibernate ; Hibernate Synchronizer ;Hibernate extension ;Persistence 0 引言在基于 J2EE 的高速精密磨削数据共享系统中进行数据持久层的设计, 主要是为整个项目提供一个高层、统一、安全和并发的数据持久机制, 从而完成对各种数据进行持久化的编程工作, 并为系统业务逻辑层提供服务。数据持久层提供了数据访问方法, 避免了手工直接编写程序访问数据持久层(Persistence layer) , 提高了代码的可重用性,大大简化了数据增、删、改、查等功能的开发过程, 并且可以灵活地支持多种数据库, 使系统具有良好的可伸缩性和可扩展性。目前, 我们使用的绝大多数数据库是关系型数据库, 而设计和开发往往又是面向对象的方式, 为了提高数据访问的效率, 持久层的解决方案是整个系统的关键。对持久层的实现存在多种方案, 例如 JDBC 、 EJB 、 JDO 、 ODBMS 、以及 ORM 等。在这些方案中用 JDBC 是

基于J2EE的高速精密磨削数据共享系统数据持久层解决方案 来自淘豆网www.taodocs.com转载请标明出处.