The Design and Implementation of College Online Voting System Based on Lightweight JAVA EE

Author
SunLiHong
Advisor
XuZhiWen , WangShang
School
Jilin University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
200
Citations
0

Request the full text

Abstract

There are a lot of selected activities in colleges and universities daily work.But the traditional way of voting has some shortcomings, for example, in the organization, distribute ballot papers, ballot papers and statistics gathered during the vote requires a lot of manpower, financial and material resources, traditional voting methods can’t meet the needs of colleges and universities now.With the popularity of the campus network and the rapid development of various schools of management systems continue to improve, step by step into the scientific, information technology and standardized management of age. Using the campus network platform, we can achieve online voting system with the computer and network technology. This will not only save a lot of resources, but also improve the efficiency of management personnel. Also, you can reduce the errors caused by human factors, so that selection activities to an open, fair and just results.Design and implementation of this lightweight JAVA EE based on online voting system colleges and universities, the system can be divided into foreground and background sub-subsystem, select the front subsystem to provide users with features such as voting and online voting, the background for the management of major subsystems provide create a poll, find voting, remove the ballot vote and a series of management functions, in line with the actual needs of college-line vote, which could well apply to the actual application environment. Design and implementation of this lightweight JAVA EE based on online voting system colleges and universities. With Eclipse (IDE tools), Tomcat5.5(Web container), MySQL5.0(database) and Struts2, Hibernate3and Spring2development package to develop the system. Followed in accordance with the needs analysis, design, detailed design, system implementation described in the online voting system development process. The first part of the requirement analysis, based on the user’s specific needs, using UML case diagram to the way the business needs of the user research and analysis. Part of the overall design and then presented the objectives and principles of system design, and system architecture, database, security architecture and other aspects of design. Finally, some of the detailed design and implementation, based on Struts2, Spring and Hibernate integration of lightweight JAVA EE framework S2SH, respectively, from the domain model layer, business layer and persistence layer, presentation layer design and implementation of systems, where in the presentation layer using Struts2, responsible for the page display, front-end control, forwarding requests and other tasks, and the Validation with the Struts2validation mechanism for the input function; in the business layer using Spring managed bean, including the use of factory pattern to create bean, with the Service Locator pattern The definition for bean with Inversion of Control IoC mechanism assembly bean, and through Spring’s AOP, using the Acegi security measures for the system, etc.; the persistence layer using Hibernate, DAO pattern package using the underlying operating, using its object-relational mapping mechanism ORM, object-oriented approach to operating the database. Other management services through the Spring, Hibernate managed by the cache, and further optimize the system performance. But also the use of Log4j log management tools to facilitate system debugging and development; the use of JUnit for unit testing tools to ensure that the system can be properly deployed and running.College online voting system uses open-source framework S2SH, has a good multi-architecture, can greatly reduce system development costs, shorten development cycles and reduce system development risk, optimize the overall system structure, improve system performance, the system has a good loose coupling, scalability, maintainability and reliability, and testing convenience.

Table of contents

Summary 4-6 Abstract 6-11 Chapter 1 Introduction 11-15 1.1 Background and Significance of topics 11 - 12 1.2 research status 12-13 1.3 The main contents 13 1.4 system features 13-14 1.5 organization structure 14-15 Chapter 2 system Development Environment 15-21 2.1 development Environment 15-16 2.2 Struts2 introduction 16-17 2.3 Hibernate Introduction 17-18 2.4 Spring Introduction 18-20 2.5 Summary 20-21 Chapter 3 system Requirements Analysis 21-28 3.1 system functional requirements 21-22 3.2 use case analysis 22-26 3.3 system non-functional requirements 26-27 3.3.1 interface requirements 26 3.3.2 data accuracy 26 3.3.3 performance demand 26-27 3.3.4 system maintainability 27 3.3.5 scalability 27 3.3.6 security and reliability needs 27 3.4 Summary 27-28 Chapter 4 of the overall system design 28-37 4.1 system requirements and basic design principles 28-29 4.1.1 basic System requirements 28 4.1.2 system design principles 28-29 4.2 system architecture design 29 - 33 4.2.1 schema design 29-30 4.2.2 frame design 30-33 4.3 systems technology program 33 4.4 database Design 33-36 4.5 system security architecture design 36 4.6 Summary 36-37 detailed in Chapter 5 system design and Implementation 37-65 5.1 developers to build and configure a bad environment create 37-41 5.1.1 VoteSystem project 37 5.1.2 Struts2 of configure 37-38 5.1.3 Spring configuration 38 5.1.4 Hibernate configuration 38-39 5.1.5 web.xml configuration 39 5.1.6 directory structure 39-40 5.1.7 S2SH processing the request process 40-41 5.2 domain model layer design and implementation 41-42 5.3 Service layer Design and Implementation 42-44 5.4 persistence layer design and implementation 44-47 5.5 presentation layer design and implementation 47-60 5.5.1 administrator login module 48-52 5.5.2 Creating a new administrator module 52-53 5.5.3 change password module 53-54 5.5.4 voting module 54-55 5.5.5 management voting module 55-57 5.5.6 Find the voting module 57 5.5.7 delete the poll module 57 5.5.8 View optional voting 57-58 <br / > 5.5.9 voting module 58-59 5.5.10 View Poll Results module 59-60 5.6 system optimization 60-63 5.6.1 transaction Management 60-61 5.6.2 cache management 61-63 5.7 system test 63-64 5.7.1 unit test 63-64 5.7.2 integration testing 64 5.8 Summary 64-65 Chapter 6 Conclusion 65 - 67 6.1 summarizes 65 6.2 Prospects 65-67 References 67-69 Thanks 69

Related dissertations

  1. Research and Application Based on SSH2and JBPM for J2EE Develop Platform
    DingZhiYi ·Northwest Normal University ·2013 ·Master's thesis
  2. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  3. The Design and Implementation of Vehicle Tracking Management System
  4. Design and Implementation of Small Business Human Resource Management Information System
  5. Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework
  6. Design and Implementation of High Performance Computing Service Management Platform Based on JavaEE
    YuJun ·South China University of Technology ·2013 ·Master's thesis
  7. The Design and Implementation of College Students' Party Information System Based on the SSH
  8. The Design and Implementation of Tobacco Platform of Quality Management Based on JavaEE
  9. The Design and Implementation of Online Bookstore
    GaoHao ·Beijing University of Technology ·2012 ·Master's thesis
  10. Design and implementation of student network report system based on Lightweight Framework
    LiuJia ·University of Jinan ·2012 ·Master's thesis
  11. The Design and Implementation of Printing and Dyeing Production Information System Based on S2SH
  12. Application and Study of Ssh Frame Techlology in the Supermarket Management System
    HeYanFang ·Hunan University ·2011 ·Master's thesis
  13. Design and implementation of SSH2 framework based on internal OA system of Jiangxi Construction Bank
  14. The Development of Agent Order Management System Based on J2EE
    YinLiangQun ·Northeast University of Petroleum ·2013 ·Master's thesis
  15. The Design and Implementation of the Online Business Competition System of PBCBased on SSH2
    GuoKeYing ·Shandong University ·2013 ·Master's thesis
  16. Information Release Platform of Auto Parts Based on J2EE
  17. The Design and Accomplishment of College Financial Management System for Tianjin University
    TianXiaoQing ·Tianjin University ·2012 ·Master's thesis
  18. Design of Secure E_acution System Based on JavaEE Lightweight Framework
    JieZhi ·Wuhan Polytechnic University ·2012 ·Master's thesis
  19. Design and Implementation of Energy Measurement System for the Steel Manufacture
  20. Design and Implementation of Highway Toll Management System Based on Java EE