Font Size: a A A

Aop System When A New Type Of Supporting Multiple Languages ​​and Running

Posted on:2007-07-27Degree:MasterType:Thesis
Country:ChinaCandidate:F PengFull Text:PDF
GTID:2208360185955783Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Aspect-Oriented Programming is a new idea of programming. It separates the code of the special domain from the business logic. The codes of the business logic no longer have any reference on special domain codes. After encapsulating and managing the relation between business logic and special domain issue with aspect, the changes scattering in the system could be well managed.AOP provide a way of describing crosscut concerns and weaving the concerns into software system. This implementation modularizes the crosscut concerns. The crosscut concern could be easily handled by marking off the aspect code. The developer can change,plug in or remove the aspect of a system, or even can reuse the aspect.Currently, the AOP is still during the evolution. The AOP languages and implementations are imperfect, but the appearance of the AOP may change the whole way of developing software. It could implement the"use case-drive"developing more perfectly.We analyze the state of the AOP language in this paper, especially AspectJ——the factual standard of AOP. By summarizing the limitation and the future of the AOP, we propose a system that supports muti-languages runtime AOP. This system is base on a compiler architecture named Low Level Virtual Machine that including a muti-languages supporting IR and could optimize the program during the whole lift time of the software. By extending the low level virtual machine to map the high-level semanteme to IR-level, we can implement dynamic weaving. At the same time, in order to support reuse aspect between different AOP languages, we design a universal XML schema to record the AOP semanteme.In succession, we show the performance process of this system by analyzing a example, and we evaluate the impaction of implementing the AOP function to the low level virtual machine compiler system, especially the JIT compiler system. .At last, we point out the improving direction of this system.
Keywords/Search Tags:Aspect-Oriented Programming, AOP, Low Level Virtual Machine, dynamic compile, muti-languages
PDF Full Text Request
Related items