Font Size: a A A

Application And Research Of Struts Framework In J2EE Information System Development

Posted on:2007-12-12Degree:MasterType:Thesis
Country:ChinaCandidate:X M ZhangFull Text:PDF
GTID:2178360182995704Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of network and the wide use of J2EE platform, multilayer web architecture based on B/S has been developed and becomes mature. But, there are still several disadvantages in the design of multilayer web architecture like low software reusability, fussy maintenance and weak flexibleness etc. Therefore, how to organize software and use a better architecture, good design pattern and reusable framework to develop web application has become a hotspot of the development of Internet technology and also a worthy question to discusss which can make programming easy also with high efficiency, good maintenance and strong expansibility.As an open source web framework, Struts framework is a standard implementation of MVC and several J2EE kernel design patterns. It provides a reusable software framework and makes it easy to build multilayer web application.An in-depth study of the application of Struts framework in web system is made in this thesis. Firstly, J2EE architecture is introduced and MVC design pattern is also analyzed. Secondly, web application framework is discussed, as well, the factors which affects the choosing of web-layer framework and the significance of using framework for software developing are summarized. The architecture .work flow and developing flow of Struts framework are researched wholly. The adavantage and disadvantage of Struts framework are summarized through the analyzing and comparing of Struts, JATO, JSF and Spring framework.Based on the research done above, firstly, the requirement analysis and design of the system is done with UML according to the features and actual requirement of Traffic Information Service System for Public Travel. The architecture of the system is built based on Struts framework. Secondly, the procedure of the implementation of Traffic Information Service System for Public Travel based on Struts is illustrated in detail. The work that how to construqt the Model, View, Controller and how to conf ig them is illustrated with emphasis. Besides,a solution for common problem of Chinese disorder in word processor and word display is presented .As well, a pagination method for web data display is presented. A system test solution for the system is brought forward, Using this test solution, the functionality, the performance and the integrality of web application can be tesed effectively. Lastly, because of the disadvantage of Struts framework that Struts controller and web container have so close coupling that Struts Action can' t be tested in unit with lightweight, an ameliorative method using Context Encapsulation pattern is brought forward and also validated in the this system.
Keywords/Search Tags:J2EE, MVC, Struts Framework, Traffic Information Service System for Public Travel, System Test
PDF Full Text Request
Related items