Font Size: a A A

Design And Implementation Of The Police Information System Based On J2EE Architecture

Posted on:2013-01-01Degree:MasterType:Thesis
Country:ChinaCandidate:Z HuangFull Text:PDF
GTID:2218330362459394Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet, an increasing number of government departments andcompanies need to establish a stable, convenient and efficient internet business system."Company application"has become an important area of software development. And theJ2EE technology provides a multi-level distributed application platform for the"companyapplication". On this platform, people can use various Web framework techniques. As aMVC (Model-View-Controller) based design pattern for application framework, Struts isoften used as a standard J2EE application on the server-side presentation layer.By implementing the police information system, police can effectively use reasonablearchitecture and new technology in various information resources. In recent years, distributedtechnology has become more and more mature. J2EE (Java 2 Enterprise Edition) inherites thefeatures of Java language such as platform-independent, a combination of componenttechnology, application server technology, and provides advanced solutions to build a modernpolice information system. J2EE is a Java 2 platform to simplify the government solutions forthe development, deployment and management of complex issues related to architecture. Thepolice information system is based on the idea of the permission-based access control, andwith the project background of the public security information system.Through businessrelationships, demand analysis, preliminary design, detailed design and function realization,each module of the information system is accomplished.Based on the principle of the MVC pattern, our research concentrates on the basicprinciples of the Struts framework and its implementation, and the analysis of Struts in theintegration of JavaServlet, JSP, XML to implement it. The construction and configuration ofeach module are studied from the view point of the design and implemention. A typical caseis given to detail these problems based on the receice/post module. Finally, each policeinformation system module's function is achieved with Struts.By describing the process of the system implementation,the configuration files plays animportant role in the application of Struts.Struts configuration files are used to combine eachunit to accomplish the application, thus the correct use of the configuration files determinesthe successful start of the Struts application. This thesis focuses on this problem. When the programming is completed, software testing must be started, the first step isJunit test, to ensure the display of the JSP files' items as the same as the HTML files, afterthat is the said layer and control layer test, which is also an important part of software test, theuse of test FrameWork, by extending the unit test TestCase class to simplify Junit test. we canuse XML files to simulate the data submitted by the police. We can use this framework toparse these XML files which constitute the data we need. After running the test class, TestFrameWork based on the simulation request data, it returns the number of XML files,representing FormBean and controller layer and model layer. By looking at these documents,we can confirm the correctness of the Action's control logic and the JSP's display logic.Finally the integration test will be done and testing all functions of the system by use of theuse case table.
Keywords/Search Tags:Police Information Systems, J2EE, JSP, work cycle
PDF Full Text Request
Related items