Font Size: a A A

Design And Realization Of Enterprise Information Management System Based On J2EE And MVC Pattern

Posted on:2006-06-12Degree:MasterType:Thesis
Country:ChinaCandidate:G Z GaoFull Text:PDF
GTID:2168360155460350Subject:Mechanical design and theory
Abstract/Summary:PDF Full Text Request
In recent years, the network technology has been developed quickly and the platform of J2EE(Java 2 Platform Enterprise Edition) has been adopted extensively. And the multi-layer web architecture based on B/S pattern matures gradually. The Model-View-Controller pattern discards disadvantages which the design pattern in traditional web application has. It separates the control of the data and the view of the data so as to meet the demand to the multi-layer web application complicated more and more. So MVC pattern is the best choice to develop the J2EE web application.Apache struts framework, based on the J2EE platform, is a typical framework to implement the Model-View-Controller (MVC) design pattern. Model is made up of JavaBean or EJB that implement the business logic. Controller is constituted by ActionServlet and Action. A group of JSP files constitute view. The framework lightens the burden to construct the multi-layer web application and provides components which can be reused. The design of the struts-config.xml and the configuration file, is an important part for the struts framework. Struts provides controller component and integrates other related technologies to implement the model component and view component of MVC pattern. Struts is fit for all kinds of projects especially for large ones which can embody more advantages of struts.The paper analyzed the advantages to set up the web application system based on J2EE platform firstly. Then it studied the MVC pattern and struts framework based on the MVC. Finally it introduced the whole process about the design and realization of enterprise information management system of China agriculture mechanization information network based on struts pattern, which included demand analysis, system design, system realization, system test and the last system deployment. The paper laid emphasis on system realization. Firstly, IDE (Itegrated Development Environment) was choosed and database was constructed. Secondly, the paper described how to use struts to implement the model, view, controller for MVC and how to deploy two important files, web.xml and struts-config.xml. Finally, the paper gave the summarization of the experiences for development.Because I adopted the pattern of Struts MVC based on J2EE in the enterprise information management system, I simplified the work of each stage, normalized the development of whole system, increased the code quality and the system efficiencies, made the system have many advantages, such as able to cross platform, easy to be extended and maintained etc. The system manifests the technical advantages of J2EE architecture and MVC pattern. This project can be a reference to the same kind web application development.Enterprise information management system is an important part of China agriculture mechanization information network. The information network covers 14 kinds products, related enterprise information, laws and rules, technologies and patent, and provides a platform for information sharing.Enterprise information management system focuses on the enterprise information and product information, which integrates those information on a total business integrated platform. The system is designed to serve for farmers, related management departments, scientific research institutes and enterprises.
Keywords/Search Tags:J2EE, MVC, Struts, enterprise information management system, pattern
PDF Full Text Request
Related items