Font Size: a A A

Research And Application Of Struts Framework Based On MVC Pattern

Posted on:2007-12-28Degree:MasterType:Thesis
Country:ChinaCandidate:G MaFull Text:PDF
GTID:2178360218951306Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
At present, with the expansion of the software scale and the improvement of thecomplexity of the software, it is not enough to produce only through improving technologyin order to develop faster, better and cheaper software. We should make effective use ofreuse especially the reuse at a higher level. Design pattern is an effective reuse conceptthat was borrowed by the project of software from "constructional engineering" and is avaluable treasure that was accumulated in the long process of developing and studyingsoftware. When framework, as a case of expandable architecture providing for applicationin a specific field, combines with a design pattern which was tested through practice; notonly an wonderful design idea will be got, but also an algorithm of a field concerned willbe automatically reused with the help of the basic platform. Thus a shortcut will beprovided for software development. Based on the backgrounds, a main study and researchhas been done in the thesis to the typical MVC Design Pattern and its concrete realization—Struts Framework, which is on the J2EE Platform. On the base of it, a net marketingsystem has been developed by applying the framework. The concrete research of the thesismainly includes the following aspects:(1) In the current software development, while realizing the system function, peoplepay more attention to the not-function property of system. At the beginning of the thesis,an analysis is done on the not-function features of the software architecture and adiscussion is done on the features of design pattern.(2) A study is done about the structure of MVC Design Pattern. An analysis is done onthe advantages and disadvantages of it. On the base of it, an analysis is done on therepresentation from MVC Design Pattern to Struts Framework and the function of the keycomponents in the framework is discussed.(3) A typical applying framework usually includes some smaller design patterns. In the thesis, two important J2EE core patterns, Application controller and Context object, isanalyzed. Their application in the framework is analyzed and their influence on the Systemframework is discussed.(4) A research is done on the software development pattern based on Struts Framework.To different system scales and requirements, the developing idea of selecting differenttechnology and adopting multilayer structures is brought forward. And Struts Framework isapplied to the real software development through developing a net electronic market.Practice has proved that if a suitable design pattern is adopted in software design,making use of ripe framework technology can ensure the clearness of the system structureand improve the development efficiency and strengthen the not-function features ofsystem.
Keywords/Search Tags:Design Pattern, MVC Pattern, Struts Framework, Software Reuse
PDF Full Text Request
Related items