The Application and Study of Aspect-Oriented-Programming in WEB Systems

Author
FanHouJun
Advisor
WeiHuiQin
School
Beijing Jiaotong University
Major
Computer Software and Theory
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2007
Downloads
170
Citations
5

Request the full text

Abstract

Object-Oriented-Programming (OOP), as the most popular method of programming, is applied well in the design and implementation of web applications, whereas the defect of OOP has already come out. Just for the defection, Aspect-Oriented-Programming (AOP) has been presented. The method of AOP is good at solving the difficulty in OOP of cross points, and loosens the system from higher standpoints.This paper deeply analyses and studies the relation between AOP and OOP, and discusses the theory of AOP technologies, further studies theoretic related with requirements analysis, design and coding based on AOP, and studies the application of AOP in web system.Based on the characteristics of web application system, the paper analyses and designs a kind of multi-player architecture based on MVC, emphasizes on the analysis of common cross points in web system, including object persistence, database connection maintenance, cache and authorization, and the relation between cross points and system layers respectively. Making use of the AspectJ language, a kind of AOP language evolved from Java, the paper design implementations to solve these cross points.At last, comparing with OOP, the paper makes a summary of the advantage and defection of AOP, and lists some items for most practice with AspectJ.

Table of contents

The Chinese summary 6-7 ABSTRACT 7-11 first chapter 11-15 1.1 research background and its significance 11-12 1.2 AOP research and its application status 12-13 1.3 this study focused 13 1.4 The paper is organized 13-15 the AOP design and research and development 15-29 2.1 AOP basic concepts 15-17 2.2 AOP with OOP relations 17-20 2.2.1 OOP introduction 17-18 2.2.2 AOP OOP complement and development 18-19 2.2.3 AOP encapsulation 19-20 2.2.4 AOP and design patterns relationship 20 2.3 AOP technology principle 20-25 2.3.1 Dynamic Agent implements AOP 21-24 2.3.2 based on the object-oriented language extensions 24-25 2.4 the AOP design and development discussion and research 25-29 < br /> 2.4.1-based aspect-oriented requirements analysis 25-26 2.4.2 design level the good OOP architecture to achieve core business processes 26 2.4.3 Definitions cut point 26-28 2.4.4 Organization core concerns and crosscutting concerns context 28-29 Chapter WEB system architecture design and analysis 29-38 3.1 system architecture design principles 29 3.2 overall architecture design 29-31 3.3 detailed design analysis 31-36 <br / 3.3.1 Data layer 31-32 3.3.2 business layer 32-33 3.3.3 control layer are found; 33-35 3.3 .4 access static data relationship analysis nbsp 35-36 3.4 crosscutting concerns point layer; 36-38 Chapter AOP application 38-59 4.1 experimental environment structures 38-39 4.1.1 J2EE development environment to build 38 4.1.2 AspectJ development environment to build 38-39 4.2 the object persistence the 39-45 4.2.1 database design, analysis, and O / R mapping 39-40 4.2.2 cross cutting concerns business logic design analysis 40-41 4.2.3 data structure design 41-42 4.2.4 capture DAO class method call 42 -43 4.2.5 capture VO instance set 43-44 4.2.6 Hibernate AOP principle 44-45 4.3 database connection maintenance 45-52 4.3.1 crosscutting, concerns analysis the 45-48 4.3.2 create DAO instance programming 48-49 4.3 .3 to open matters Programming 49-51 4.3.4 Close database connection, to end affairs programming 51-52 4.4 cache crosscutting concerns 52 -56 4.4.1 Analysis on Starting 52 4.4.2 cache primary key context analysis 52-55 4.4.3 cache to achieve 55 -56 4.5 permissions certification 56-59 4.5.1 database structure design 56-57 4.5.2 permission context analysis 57 4.5.3 concrete realization 57-59 Chapter analysis the AOP mode of WEB system characteristics 59-65 5.1 AOP advantage of 60 - the coupling 62 5.1.1 60-61 5.1.2 readability 61 5.1.3 may scalability are found; 61-62 < br /> 5.2 system design and development based on the the AOP mode of WEB insufficient 62 5.3 AOP coding style and coding habits limit 62-63 5.4 aspect-oriented programming AspectJ most good practice 63-65 conclusions the 65-67 1. summarizes 65 further work 65-67 Reference 67-69 of resume 69-71 Dissertation datasets 71

Related dissertations

  1. Implementation of Error-Tolerable AOP Framework in .NET Framework
    ZhuYingHang ·Jiangsu University ·2006 ·Master's thesis
  2. The Design and Implementation of a Light-Weight Loose-Coupling Framework Based on AOP
    Chen ·Northeastern University ·2006 ·Master's thesis
  3. Research on Problems of Accounting Treatment of Contingencies
    HuJieYang ·Zhongyuan Institute of Technology ·2013 ·Master's thesis
  4. Ganluo County Sichuan Province on the development of microfinance
  5. The Research on Circuitous Management Buy-Outs of Listed Company of China
  6. Situation Analysis and Strategies for Evelopment of Apple Modern Industry of Qianyang
  7. Price of Land of Our Country City the Microcosmic Influenc Factors Empirical Analysis
    ZhuoJinHua ·Anhui Agricultural University ·2013 ·Master's thesis
  8. The Innovative Research for the Management of National Small-sized Ancient Character Memorials
    WangXin ·Shanghai University ·2013 ·Master's thesis
  9. The Design and Implementation of Fire Brigade Major Hazard Risk Level Evaluation System of Deyang
  10. The Analysis and Design of Good Sale Model of Telecom E-commerce System
  11. Research on the School-running Characteristics of Provincial Undergraduate Colleges in Hunan
    TangFang ·Hunan Normal University ·2014 ·Master's thesis
  12. Research on the Postgraduates' Career Planning
    ZhouLiang ·Yanshan University ·2013 ·Master's thesis
  13. Explore to the Group Cooperative Learning in Mathematics Classroom of Grade One in Junior High School
    DiChunPeng ·Shandong Normal University ·2014 ·Master's thesis
  14. Research on Problems of Primary Schools Arrangement in Old Barag Banner
    ZhenDe ·Inner Mongolia Normal ·2012 ·Master's thesis
  15. The Problems and Suggestions of Specially Contracted Teachers' Plan
    RanXu ·Northwest Normal University ·2013 ·Master's thesis
  16. The Development and Application of Classroom Teaching Language Behavior Analysis Platform
    LiLanYing ·Zhejiang Normal University ·2013 ·Master's thesis
  17. Based on some big data era background of statistical education
    CuiLuYun ·Capital University of Economics ·2014 ·Master's thesis
  18. On Construction for Judicial Authority of Our Country
  19. Theory of Criminal Law Regulation of the Credit Card Cash Out Behavior
    SunZhe ·Dalian Maritime University ·2013 ·Master's thesis
  20. Criminal regulation of food safety crime.