Research and Applications of MVC Pattern Based on AOP

Author
ShenLiJun
Advisor
XieYiWu , ChenMingSheng
School
Dalian Maritime University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
124
Citations
6

Request the full text

Abstract

In modern software development , based on B / S mode of development technology more and more popular , but in the use of B / S model for software development process, it encountered as a result of user requirements change , the need to revamp the core business logic code, thereby increasing the cost of development , extending the development cycle , increasing the difficulty of post code maintenance problems . Subsequently , design patterns have been proposed to solve this kind of problem , MVC pattern is one of them , so far this is still the B / S architecture popular pattern of development, particularly in the areas of J2EE development . It provides application development environment provides a layered architecture , namely: the model layer , view and control layers . As object-oriented technology solutions across multiple modules in a crosscutting concern issues inherent flaws , making use of object-oriented technology of J2EE MVC development model, crosscutting concerns in dealing with the issue has greater limitations. Aspect-oriented programming techniques (Aspect-Oriented Programming) is the view of the object-oriented programming techniques in dealing with the drawbacks of crosscutting concerns arise when the . It is to solve the cross-sectional phenomenon as a starting point , coupled with a minimum of processing each concern , so that crosscutting concerns are also modular. Aspect-oriented technology will be run through the system crosscutting concerns extracted formation in layers , using a configuration file declarations of weaving points to increase reuse , improved code maintainability. This paper selected areas currently the most popular J2EE MVC framework Struts, the aspect-oriented technology into Struts, Struts model layer according to the core concerns and crosscutting ( non-core ) concerns into two layers , the application of AOP techniques to achieve non- core concerns points, proposes a new architecture model AO-MVC model, so based on object-oriented technology can be a better solution Struts framework crosscutting concerns and brings many problems .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-13 1.1 of the problem 9-10 1.2 research status 10-11 1.3 research 11-12 1.4 thesis is organized 12-13 Chapter 2 AOP technology 13-31 2.1 AOP origin introduced 13-15 2.2 AOP principles and frameworks 15 2.3 AOP important concepts 15-17 2.4 understand the \ 2.5 using AOP to solve crosscutting issues 20-22 2.6 AOP technology advantages 22-23 2.7 AOP implementation technology 23-26 2.8 AOP implementation strategy 26-27 2.9 IoC introduction 27-30 2.10 IoC and AOP 30-31 Chapter 3 traditional MVC pattern 31-47 3.1 OOP Overview 31-32 3.2 OOP advantage 32-33 3.3 OOP problems 33-35 3.4 MVC Pattern Overview 35-38 3.5 MVC model has the advantage 38 3.6 MVC pattern implementation architecture 38-45 3.6.1 Struts Overview 38-39 3.4.2 Struts workflow 39-40 3.6.3 Struts working mechanism 40-44 3.6.4 Struts Advantages 44-45 3.7 disadvantages of the traditional MVC pattern 45 3.8 traditional solutions 45-47 Chapter 4 MVC framework based on AOP mode 47-57 4.1 AO-MVC Pattern Overview 47 4.2 AO-MVC structure 47-49 4.3 AO-MVC framework AOP implementation 49-55 4.3.1 usual business logic code 49-50 4.3.2 Separation of concerns 50-53 4.3.3 division entry point 53-54 4.3.4 configuration file 54-55 4.4 AO-MVC pattern advantage 55-57 Chapter 5 AO-MVC pattern in e-commerce system application 57-72 5.1 Requirements Analysis 57-58 5.2 Functional design 58-60 5.3 database design 60-61 5.4 System Architecture 61-62 5.5 system modules to achieve 62-69 5.5.1 permissions management 63-64 5.5.2 logging aspect 64-66 5.5.3 Exception handling 66-67 5.5.4 affairs management 67-69 5.6 system is running 69-70 5.7 Experimental Analysis 70-72 Conclusion 72-73 References 73-77 published during the study for a degree thesis 77-79 Thanks 79-81 graduate resume 81

Related dissertations

  1. The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
    LiQing ·Shandong University ·2013 ·Master's thesis
  2. Research on Web-based Incoming Hazardous Goods Declaration System Development and Related Issues
    LiHeng ·Yanshan University ·2012 ·Master's thesis
  3. The Design and Implementation of Support System in Chemical Disaster Accident by Fire Armed Police in Deyang City
  4. Analysis and design of trading system of land and mining Online
    LiJiKang ·Yunnan University ·2012 ·Master's thesis
  5. Modeling Methods for Distributed Learning System
    KeQingChao ·South China Normal University ·2003 ·Doctoral dissertation
  6. The Research on Field Information Collection System Based on Palm-Sized PC
    FangHui ·Zhejiang University ·2003 ·Doctoral dissertation
  7. Component - based development practices research
    LuJie ·Anhui University ·2004 ·Master's thesis
  8. Design and Implementation of Heating Meter Reading Information System Basing on GPRS
  9. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  10. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. The Design and Implementation of Website Construction Based on OpenCms Technology
  12. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  13. The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
  14. Design and Development of C Language Program Design of Excellent Course Website
    ZhuZhiGang ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Multilevel Mapping-based Clinical Pathway System
    TangLiHong ·Hunan University ·2013 ·Master's thesis
  16. Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
    ChenJianBin ·Hunan University ·2013 ·Master's thesis
  17. Books Management System of Vocational School Based on the J2EE Multi-layer Framework
    JinZeLong ·Hunan University ·2013 ·Master's thesis
  18. Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
  19. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  20. Design and Implementation of GIS Distribution Network Management System
    LiXueLian ·Northeastern University ·2013 ·Master's thesis