Font Size: a A A

Research And Application Of Aspect-Oriented Programming Method

Posted on:2006-03-20Degree:MasterType:Thesis
Country:ChinaCandidate:W WeiFull Text:PDF
GTID:2168360152491586Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Aspect-Oriented Programming is a new technology of software development, which is brought forward to resolve the flaws that when handling the non-core requirements which often crosscut a lot of modules, Object-Oriented Programming represents.This paper analyzes the influence of programming methodology to software development firstly, introduces the advantage and disadvantage of Object-Oriented Programming and elicits the concept of Aspect-Oriented Programming. By analyzing crosscutting concerns and the problems which are brought on by crosscutting concerns in the system, this thesis educes modularizing the crosscutting concerns and expatiates on the thinking of Aspect-Oriented Programming. This dissertation elaborates on the language criterion of AspectJ, which is a kind of language implement of AOP, and discusses the influence that dynamic and static crosscutting result in to the program with AspectJ. The paper puts forward combining the thinking of AO and unified software development process and puts the thinking of AO realize into the every step of the software development process and compares this development method with the traditional method. At last, this paper applies AOP into the development of Web adopting Struts framework. By comparing the conventional realizing project with the one adopted AO on logging and getting or releasing one connection from or to a database connection pool, we validate the feasibility and advantage of the thinking of AOP.By studying technology of AO, we modularize the crosscutting concerns, increase the code reusing and reduce the code complexity of the core concerns. We apply AO software development method to make every module's function more specific during the system development, make object and aspect's coupling more incompact and make the developed system more extensible.
Keywords/Search Tags:Aspect-Oriented Programming, Object-Oriented Programming, Crosscutting Concern, Struts Framework
PDF Full Text Request
Related items