Font Size: a A A

Research And Applications Of MVC Pattern Based On AOP

Posted on:2009-12-05Degree:MasterType:Thesis
Country:ChinaCandidate:L J ShenFull Text:PDF
GTID:2178360242474288Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In the field of modern software development, the development technology which based on the mode of B/S is becoming more and more importment. However, in the software development process, especially when customer request changes over time and the core coding need to be revised to reflect those changes, people are having many difficulties of software development cost stretch, development cycle extention and difficulties of maintenance. Later, the design pattern was put forward to solve this problem, the MVC is one of the patterns which is the most popular patterns, especially in the areas of J2EE development. It provides sub-layer architecture for the systems developping, named: Model, View, Control. Because of the deficiencies of Object-Oriented technology in solving the cross-cutting concerns, so the J2EE MVC pattern has the same problem too.Aspect-Oriented programming (AOP) is born for removing the drawback in dealing with cross-cutting concerns. It aims at resolve the crossing problem, disposes every concern with the least coupling and makes cross-cutting concerns modularized too. The Aspect-Oriented technology extracts the cross-cutting concerns from the system, declares the weaving point in a configuration file, increased the reusability and maintainability of codes.This paper use the Aspect-Oriented technology in the most popular J2EE MVC framework Struts, then divided the model layer into two tiers according with the core and cross-cutting concerns (non-core concerns), and proposed a new AO-MVC pattern. The cross-cutting concerns are coding with AOP, which enhanced the ability of Struts to dealing with the cross-cutting concerns and other problems caused by cross-cutting.
Keywords/Search Tags:Aspect-oriented programming, design pattern, MVC, Object-oriented
PDF Full Text Request
Related items