| MVC pattern is one of the design patterns, it provides a layered structure for the development of application system, which includes view, controller and model. With the appearance of J2EE, MVC is used more widely in the development of web application. But J2EE is too complicated and too hard to be held and understood, and the complicated framework also reduces the capability of system at the same time. So it comes forth a lot of light-weight frameworks such as Struts. Since the springboards of these frameworks are different and also about their methods on how to realize the MVC pattern, all of them have some disadvantages. This paper discusses the possibility to integrate different frameworks by investigating the Spring framework, and hopes to form a new framework which will provide a more effective solution for web application development.Spring framework is an Open Source Engineering which started from February 2003, it mostly rooted in the book written by Rod Johnson. In this book, Rod Johnson advocated the design idea of J2EE practicality, and provided a primary development framework implement. On this foundation, Rod Johnson had a farther reconstruction and extension to develop it as a new development framework, which is Spring framework. One of its aims is to provide consistent programming in all tiers and thereby integrate the application stack, and it provides IoC container and AOP support to fetch up some shortcomings of the former web application frameworks.This paper utilizes one of the Spring's advantages, which is called "non-invasion", to integrate Spring and Struts and then form a new web application framework. This framework possesses not only flexible View and Controller of Struts but also IoC and AOP of Spring, so it can increase the potential for business layer reuse and it's extension greatly. In practice, the integrated framework in terms of the principle of "interface oriented", designs and actualizes the development of web application system,in order to improve the reuse and extension of business logical layer. It proved that the integrated web application framework has a very important directive meaning and practical value for the development of application systems. |