Font Size: a A A

The Research And Application Of Struts And Hibernate In OA System

Posted on:2008-11-20Degree:MasterType:Thesis
Country:ChinaCandidate:J NiFull Text:PDF
GTID:2178360215474112Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Recently, the rapid development of network and the extensive adoption of J2EE platform make multi-layer web structure based on B/S mature and develop progressively, which provides a strong technical basis for Web Application. Apache Struts is a classical web framework, which is based on J2EE platform and implements the MVC design pattern. It gives the controller component of its own and integrates some technologies of J2EE to implement the model component and view component. It can separate the controller and display of the data effectively, overcome the defects of traditional development method, eases the burden of constructing mufti-layer Web applications and provides reusable software architecture; it offers strong and stable service for developing and disposing enterprise application.ORM means object-relational mapping. It is an important technique in object-oriented designing. Hibernate is an ORM tool for java environment. It manages the mapping from java classes to database tables and the operation of persistent objects. Thus, Java programmers can freely manipulate database by object programming idea, as well as pay attention to object programming and class programming in oder to solve the operation problems. Hibernate becomes the best tool of OR Mapping and gets the more and more programmers' love.Firstly, the thesis introduces the J2EE and MVC model. The architecture and principles of the Struts framework are also introduced in the paper. Secondly, the thesis provides the conception of data persistence layer and introduces the basic knowledge of the Hibernate. Thirdly, the development methods of the Struts and Hibernate are analyzed by taking an OA system of ShuGuang Company of ZhaoWei Group as an example. At last, the paper discusses the features of the Struts and Hibernate and summarized some experiences during the project development. It is indicated that the framework of the Struts and Hibernate provided in the paper can raise the development efficiency in OA sytem and meet the demands of the scalability and maintainability of a system.
Keywords/Search Tags:MVC, Struts, Hibernate, O/R
PDF Full Text Request
Related items