Open Access
Subscription Access
Modularizing the Cross Cutting Concerns Through Aspect-Oriented Programming
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
Font Size
Information
Abstract Views: 227
PDF Views: 0