节点文献

数据库中间件的研究与设计及其在数字林业中的应用

Research and Design of the Database Middleware and Its Application on Digital Forestry

【作者】 王彦博

【导师】 王霓虹;

【作者基本信息】 东北林业大学 , 计算机应用技术, 2007, 硕士

【摘要】 由于基于Web的数据库应用技术的成熟,它的市场需求越来越大,软件开发公司也希望通过提高项目的开发速度以增加市场占有率,传统的开发技术显然不能很好的满足需求。本文从当前林业系统存在的问题出发,仔细研究了XML与XSLT技术以及当前比较流行的Struts框架和Hibernate技术,设计了一个数据库中间件,从而实现了基于Struts和Hibernate的网页自动生成技术,并将其应用到数字林业的营林子系统上,同时该组件也具有透明地提供对象与关系数据库的映射,以统一的接口方式支持多种数据库的功能。本文首先对国内外中间件现状进行了分析,指明了现在中间件系统存在的问题与不足。然后对本论文所涉及到的关键技术,例如中间件技术、XML技术、XSLT技术,Struts和Hibernate技术等进行了分析和介绍。这些技术都是当前的主流技术和新技术,使系统有更好的可伸缩性及扩展性,同时这些技术的介绍也为系统的实现打下了良好的基础。最后,本文介绍了如何综合运用这些技术来完成系统的设计与实现。本文利用XML与XSLT技术特点,采用Hibernate的XML配置文件作为输入文件并通过语法分析转换为输入文件的语法分析树,语法分析树再通过代码生成器的分析,转换成生成代码的语法分析树,这样代码书写器就可以通过生成代码的语法分析树获取输入文件的信息,生成所需要的Jsp和Java代码。本论文在系统开发过程中,综合运用了多种先进技术,包括基于J2EE平台的Java前端开发技术、XML技术、XSLT技术、Struts技术以及Hibernate技术,在此基础上研发一种数据库中间件,并应用于数字林业下的一个子项目中,从而实现了中间件技术与数字林业系统的整合,在林业项目开发技术上实现了创新。同时对于代码自动生成技术领域,基于Struts和Hibernate的网页自动生成技术是一种新生事物,将会有很好的发展。本课题的研究,不仅满足了B/S模式多层数据库应用系统日益增长的需求,而且能够节省大量重复的人力编码,将为程序的开发带来良好的经济效应,减少开发周期,大大降低程序开发成本,具有良好的应用和实践价值。

【Abstract】 Due to the maturity of Web-based database application technology, its market demand is more and more big. The software companies also want to increase the speed by increasing market share in the development of the project. Obviously the traditional development technology can’t satisfy the demand. This study embarked from the current question of forestry system and had studied the technology of XML and the XSLT as well as the current quite popular Struts and Hibernate carefully. It has designed the data access middleware technology, thus achieving Web Page Automatic Generator based on Struts Framework and Hibernate technology. It will be applied on the afforestation subsystem of digital forestry. At the same time, this module had also transparently provided with the objects and the relational database mapping and supported many kinds of database functions by unified connection.At first, this study analyzed the status of the world-wide middleware, and pointed out the existing problems and deficiencies of middleware system. Then it analysed and introduced the key technologies involved in this study, such as middleware technology, XML, XSLT, Struts Framework and Hibemate technology. These technologies are in the mainstream of current technologies, so that the system has a better scalability and extensibility. While the introduction of these technologies also laid a solid foundations for the realization of system. Finally, this study introduced how to use these technologies to accomplish the design and realization of the system.Using the characteristics of XML technology and XSLT technology, this study adopted configuration files of XML of Hibernate as input files and transformed it into the grammar analysis-tree of input files through the analysis of grammar and then the grammar analysis-tree had been transformed into the grammar analysis-tree of production code through the analysis of code generation. Then code writers can take the informations of input files and build the code of Jsp and Java needed through the grammar analysis of code generator.During the exploiting process of this system, this study had used many advanced technologies including Java front developed technology based on J2EE, XML technology, Struts Framework and Hibemate technology and have developed a technology of data access middleware. Through using it into a subsystem of digital forestry, middleware can integrate with the system of digital forestry and it realized the innovation of the technologies in forestry. At the same time, Struts and Hibernate based on Web Page Automatic Generator in Automatic Code Generation Technology are new things which will have a very good development.This study will not only meet the increasing demands for B/S multilayer database applications, but also can save a lot of duplications of human codes. The development of process will bring good economic effect and will reduce the cycle of development and will reduce the costs of the exploitation of process greatly. So it has a good value of application and practice.

  • 【分类号】TP311.52
  • 【被引频次】1
  • 【下载频次】216
节点文献中: 

本文链接的文献网络图示:

本文的引文网络