Font Size: a A A

The Application And Study Of Aspect-Oriented-Programming In WEB Systems

Posted on:2008-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:H J FanFull Text:PDF
GTID:2178360212468140Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:OOP, Cross Point, Join Point, Point Cut, advice, aspect, weave
PDF Full Text Request
Related items