Font Size: a A A

Research And Design Of System Framework Based On The MVC Design Pattern

Posted on:2010-12-05Degree:MasterType:Thesis
Country:ChinaCandidate:A WuFull Text:PDF
GTID:2178360275450842Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The research of software development framework is the subject which is most concerned by software developers.The framework provides a new way to software reuse in large scale and promotes the software development efficiency.One good design pattern,as well as,a reusable software architecture becomes the key factor to promote the software development efficiency and software quality.So,how to build a sturdy and stable framework is the aim of many software architecture experts.First,this thesis studies the multi-tier architecture J2EE platform and its defects.Then,it displays the MVC design pattern.At the same time,it analyses the Struts,Spring and Hibernate architecture which are the members of open source project.Then,it designs the combination of the three frameworks called SSH framework.In the SSH framework,each of the three frameworks can show its own superiority at the right tier that played in the multi-tier Web application architecture,Struts take charge of the presentation tier,Spring takes charge of business logic tier,Hibernate takes charge of data persistence layer tier.We use Spring IoC and AOP technology to combine the frameworks together,then the problems brought by the high complexity of the system structure during Web application system development are solved.During the combination,it uses the modified class DelegatingStruts to improve the demployment procedure.The thesis depicts the design procedure of the Government Information Publicity System and how apply the multi-tier Web application architecture SSH framework to it.Based on the designed framework,taking the implement procedure of domain model tier,representation tier, business tier and data persistent tier on article management module.At the same time,giving the deployment method of struts-config.xml and applicationContext.xml which are the most important part of service deployment.At last,we give one of the modules' implement as the example.The most important thing is to demonstrate how to combine Spring,Struts and Hibernate together by IoC and AOP technology making the coupling among the tiers and the frameworks reduced.The results indicate the SSH framework has its own universal property and can make the development more effective,transplant and maintain.
Keywords/Search Tags:J2EE Architecture, Design Pattern, Struts, Spring, Hibernate, Combinative Framework
PDF Full Text Request
Related items