Open Access Open Access  Restricted Access Subscription Access

Modularizing the Cross Cutting Concerns Through Aspect-Oriented Programming


Affiliations
1 Department of Computer Science, Jamia Hamdard, New Delhi, India
2 Department of Computer Science, Jamia Millia Islamia, New Delhi, India
 

No one process, technique, language, or platform is good for all situations. Object oriented is not 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 security that affects multiple implementation modules. Using object-oriented techniques cross-cutting concerns are difficult to map in a single class and hence they are scattered throughout the code. Due to scattering resulting systems are harder to design, understand, implement, and evolve. Aspect-oriented programming (AOP) is one of the ideas that can be used to modularize the crosscutting concerns better than previous methodologies. The present paper discusses the problems caused by crosscutting concerns and then shows how AOP can solve the said problem with the help of a sample code implemented in AspectJ. This paper also demonstrates how one can use Eclipse IDE to implement AOP.

Keywords

AOP, Cross-Cutting Concerns, Aspect, Aspect, OO.
User
Notifications
Font Size

Abstract Views: 227

PDF Views: 0




  • Modularizing the Cross Cutting Concerns Through Aspect-Oriented Programming

Abstract Views: 227  |  PDF Views: 0

Authors

Syed Imtiyaz Hassan
Department of Computer Science, Jamia Hamdard, New Delhi, India
S. A. M. Rizvi
Department of Computer Science, Jamia Millia Islamia, New Delhi, India

Abstract


No one process, technique, language, or platform is good for all situations. Object oriented is not 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 security that affects multiple implementation modules. Using object-oriented techniques cross-cutting concerns are difficult to map in a single class and hence they are scattered throughout the code. Due to scattering resulting systems are harder to design, understand, implement, and evolve. Aspect-oriented programming (AOP) is one of the ideas that can be used to modularize the crosscutting concerns better than previous methodologies. The present paper discusses the problems caused by crosscutting concerns and then shows how AOP can solve the said problem with the help of a sample code implemented in AspectJ. This paper also demonstrates how one can use Eclipse IDE to implement AOP.

Keywords


AOP, Cross-Cutting Concerns, Aspect, Aspect, OO.