期刊名称:Oriental Journal of Computer Science and Technology
印刷版ISSN:0974-6471
出版年度:2009
卷号:2
期号:2
页码:113-118
出版社:Oriental Scientific Publishing Company
摘要:No one process, technique, language, or platform is good for all situations. Object oriented isnot an exception. There are many situations, which the traditional Object-Oriented Programming (OOP)can't deal and implement as it should be. One of them is cross-cutting concerns like logging or securitythat affects multiple implementation modules. Using object-oriented techniques cross-cutting concernsare difficult to map in a single class and hence they are scattered throughout the code. Due to scatteringresulting systems are harder to design, understand, implement, and evolve. Aspect-orientedprogramming (AOP) is one of the ideas that can be used to modularize the crosscutting concernsbetter than previous methodologies. The present paper discusses the problems caused by crosscuttingconcerns and then shows how AOP can solve the said problem with the help of a sample codeimplemented in AspectJ. This paper also demonstrates how one can use Eclipse IDE to implementAOP