doi: 10.4304/jsw.9.9.24454-2460
Aspect-Oriented Programming to Improve Modularity of Object-Oriented Applications
- 1 Principality of Asturias, Computer Science Department, Oviedo, Spain
- 2 University of Oviedo, Computer Science Department, Oviedo, Spain
Abstract
The separation of concerns design principle improves software reutilization, understandability, extensibility and maintainability. By using the objectoriented paradigm, it is not always possible to separate into independent modules the different concerns of an application. The result is that the source code of crosscutting concerns are tangled and scattered across the whole application. Aspect-oriented programming offers a higher level of modularity, providing a solution for the code tangling and scattering problem. To show how aspectoriented programming can be used as a suitable mechanism to improve the modularity of object-oriented applications, this divulgative article presents the implementation of a typical design pattern following both the object- and aspectoriented paradigms. The two approaches are compared from the modularity perspective, establishing a discussion on the benefits provided and is current use.
Keywords
- aspect-oriented programming
- modularity
How to Cite
Jose M. Felix and Francisco Ortin, "Aspect-Oriented Programming to Improve Modularity of Object-Oriented Applications," Journal of Software, vol. 9, no. 9, pp. 2454-2460, 2014. https://doi.org/ 10.4304/jsw.9.9.24454-2460
Copyright & License
Copyright © 2014 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
