Font Size: a A A

Research And Implementation Of Web Application Based On Struts Framework

Posted on:2006-11-08Degree:MasterType:Thesis
Country:ChinaCandidate:B FengFull Text:PDF
GTID:2168360155465818Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the widespread use of the Web technology, many enterprises hope urgently to construct their own Web business systems.Java 2 Platform Enterprise Edition (J2EE) is a standard platform provided by Sun Corporation, which supplies us with rich technical choices to develop Web-based enterprise application. A high-quality application, however, depends on the support of well-designed j2ee infrastructure. Therefore, how to use j2ee's core technologies to design and construct a robust, scalable and reusable infrastructure of Web application remains to be a challenge we must be faced with. MVC (Model/View/Controller) Mode is one of the most important Design Patterns in the software engineering and provides an excellent developing model for developing the interactive system. MVC Mode's compelling separation control of data from representation of data in function effectively improves both the developing flexbility of Web application system and the reusable rate of the system design. Because of the great advantage of MVC Mode in developing the interactive system, MVC Mode has been introduced into J2EE application development and becomes one of the most important design patterns, particularly in the Web-based application. Based on the above-mentioned theories, the paper focuses on the role of the MVC design based on its application in the Web application system, makes an analysis of advantages and disadvantages in the Web frame, especially the Apache Struts which is most popular nowadays, and provides an improved design pattern based on MVC Mode. With the emergence of the concept of software reusable technology, the component-based development becomes more and more important with the advantage of reducing costs and quickening the development. EJB technology, as the core technology of the J2EE infrastructure, has won the favor of lots of developing teams due to its characteristic of "Write once -run anywhere". In the practical application EJB technology, however, has not yet been used to its best owing to the various restrictions. The second focus of this thesis lies in how to develop effective EJB component models under the Struts-based framework. It pays much emphasis on the model choices in developing EJB components under the Struts-based framework and on how to optimize the Struts framework in order to reduce the coupling between the Web layer and business layer and for methods called in big granular. In one word, when using Struts + EJB to develop Web application, we should embody the MVC design concepts as fully as possible and take into consideration what the software engineering tries to achieve, that is, how to improve the developing efficiency, facility, and reusability.
Keywords/Search Tags:Software Architecture, MVC Design Patterns, Component, XML
PDF Full Text Request
Related items