Research and Realization of Intelligent Exam System Based on Struts and Hibernate
- Author
- DuanPengPeng
- Advisor
- GuoQingPing
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 272
- Citations
- 4
Abstract
Along with the rapid development of information technology and the gradual maturity of network technology, the method and the medium of test are also experiencing the revolutionary change. From the traditional test in written form to the computer network online test, the realized form from gradually change from single-computer platform to the form of network long-distance test of network without the limitation of time and place. The online test system, with its unique superiority, plays a significant role in education. How to use test technology to evaluate people’s knowledge and ability objectively and accurately have become a daily topic.On the other hand, the extensive adoption of J2EE platform causes that development of multi-layered Web architecture based on the B/S has been developing maturely step by step. Therefore it is extremely sophisticated with considerable expense to deploy enterprise level application of J2EE platform.This causes that the small and medium-sized enterprises are reluctant or unable to carry out this application due to the reasons of technology and fund. Now various kinds of free frameworks with open source in the J2EE design have emerged. These frameworks provide a good reference and feasible scheme with economic, quick deployment, stability and expandable for the construction of enterprise level applications.Firstly, this article has made an elaboration for the J2EE technology and the MVC design pattern. Then it has studied the Struts framework based on MVC pattern and Hibernate framework which has realized data persistent layer. Mainly discussed are how Struts framework to implements the MVC design pattern as well as the working process in which its component cooperates.The characteristic of Struts framework is analyzed, then the technology of data persistent layer of J2EE and the implemention mechanism and working principle for object relationship mapping framework of Hibernate, Integrated Struts and Hibernate framework, we construct Web application framework of open source lightweight, and apply the framework to project of online test system.A online test system based on Struts and Hibernate framework is Mainly implemented. Detailed function design to the system ,divide the system into six layers according to the application logic of Web, and give the detail component information on different layers.The paper introduces detailedly the realization of the system permission management module, user module, user authentication module, examination paper issuing module as well as student test module. The final section summarizes the whole text,and points the current defects of the system and the future work’s direction.In brief, this article integrates Struts and the Hibernate framework into the application development scheme, and applies the technical combination to the design and implementation of online test system, and carries on the testing in my laboratory. The testing result shows that the system is independence of platform and the performance of maintainance, extention, plantation and component’s reusability of this application system are greatly enhanced.Thus it has a considerable value for application.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-16
1.1 Background
the purpose and significance of the research 1.2 10-11
1.3 content Research 11-14
1.3.1 application architecture 11-13
1.3.2 theory 13
1.3.3 functionality 13
1.3.4 Network Security 13-14
1.4 In this paper, the main content 14
organizational structure
1.5 papers 14-15
1.6 Abbreviations 15-16
Chapter 2 based on J2EE MVC design pattern 16-26
2.1 J2EE Technical Overview 16-21
2.1.1 J2EE concept 16-17
2.1.2 J2EE multi-tier model 17
2.1.3 J2EE components, container and core API 17-20
the
advantage of 2.1.4 J2EE 20-21
2.2 MVC design pattern 21-24
2.2.1 the MVC principles of structure 22-23
2.2.2 MVC design pattern implementations 23
the
advantages and disadvantages 2.2.3 MVC design pattern 23-24
2.3 JSP Model Introduction 24-25
2.4 This chapter Summary 25-26
Chapter 3 Struts framework and Hibernate persistence framework 26-40
3.1 Struts framework 26-31
3.1.1 Struts achieve MVC mechanism 26-27
3.1.2 Struts workflow 27-28
3.1.3 Struts components 28-30
3.1.4 Struts framework characteristics 30-31
3.2 data persistence layer with Hibernate 31-39
3.2.1 data persistence layer 31-35
3.2.2 Hibernate framework 35-39
3.3 Struts and Hibernate integration 39
3.4 This chapter Summary 39-40
Chapter 4 Online Examination System overall design 40-63
4.1 Systems Analysis 40-54
4.1.1 Functional Design 40-42
4.1.2 architecture design 42-44
4.1.3 system entity object analysis 44-45
4.1.4 database design 45-50
a 4.1.5 system development environment 50
4.1.6 system detailed design 50-54
4.2 key technology to achieve 54-62
4.2.1 Web engineering applications the Hibernate 54-55
4.2.2 the Hibernate Tools 55-56
4.2.3 Servlet Filter 56-57
4.2.4 Configuration Servlet filters 57-58
4.2.5 Struts system implementation 58-60
4.2.6 Custom Struts plug achieve 60-61
4.2.7 extend Struts Action 61-62
4.3 This chapter Summary 62-63
Chapter 5 based on Struts and Hibernate online exam system design and realization 63-91
Design and implementation of data persistence layer
5.1 63-68
5.1.1 data persistence layer structure design 63-64
5.1.2 definition and public DAO interface 64-65
5.1.3 implement the DAO factory class 65-68
5.2 system permissions management module design and implementation 68-73
The basic concept of the
5.2.1 Rights Management module 68
5.2.2 Rights Management module design 68
5.2.3 rights management model to achieve 68-71
5.2.4 Rights Management module entity object cache handling 71-72
5.2.5 permissions role DAO interface definition and implementation 72
5.2.6 permissions initialization and cache handling 72-73
5.2.7 Rights Management module summarizes 73
5.3 user management module design and implementation 73-81
the 5.3.1 user management module design 73-74
5.3.2 Create user management module entity object 74-75
the
the 5.3.3 mapping entity object inheritance relationship 75
5.3.4 Teacher Information maintenance 75-79
5.3.5 class information maintenance 79-80
5.3.6 Student Information maintenance 80-81
5.4 user authentication module 81-83
5.4.1 user login 81-82
5.4.2 to achieve the user to re-login feature 82
5.4.3 user authentication 82-83
5.4.4 implementation user password modify functionality 83
5.5 papers and exam management module 83-88
5.5.1 papers module design and implementation 83-85
5.5.2 create test paper system entity object 85
5.5.3 paper management 85-86
5.5.4 Questions Exam management functions 86
5.5.5 Paper Generation 86-88
5.6 examinations of students 88-90
5.7 This chapter Summary 90-91
Chapter 6 Summary and Outlook 91-93
6.1 system summarizes 91-92
of 6.2 next job and outlook 92-93
the
References 93-96
Acknowledgements 96-97
the
author of academic papers published during the master's degree 97
Related dissertations
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
- Research and Implementation of a Human Resource Management System Based on XX Company
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design of the Jiujiang Institute of Financemanagement System
- Design and Implementation of Intelligent Management System of Assets
- B/S Based Online Book System Management Module Design and Implementation
- Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
- The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
- Research and Design of SSH-based University Equipment Share Management Platform
- Design and Implementation of Material Management System
- The Design and Implementation of Material Supply Managerment in Fengfeng Group
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- Design and Implementation of Community Information Service Platform: iHOM
- The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
- Design and Implementation of Office Automation System for Dongyuan Company
- Design and Implementation of a Supply Chain System for Manufactural Enterprise