Aspect-Oriented Programming (AOP) presents the principle of the separation of concerns, allowing less interdependence, and more transparency. Thereby, an aspect is a module that encapsulates a crosscutting concern, and it is composed of pointcuts and advice bodies. The interception of an aspect is performed in a join point (a point in the execution flow), and defined inside a pointcut (a set of join points). Whenever the application execution reaches one pointcut, an advice (namely a callback) associated with it is executed. However, this implementation does not take into account separation of concerns in distributed settings.[1]
In contrast, distributed AOP is a paradigm that allows distributed interception. It defines many new concepts like remote pointcuts, which are similar to traditional remote method calls, since execution is performed on a remote host. Thus, distributed AOP establishes a context where aspects can be deployed in a set of hosts. In this sense, the remote pointcut abstraction [2] is considered the starting point for distributed AOP. After that, some works [3] [4] [5] [6] have extended this idea in some way, but all of them share the concept of remote pointcut.
A distributed aspect is defined [7] as a crosscutting software module that may operate in multiple remote hosts to intercept and alter the whole behaviour of a distributed application. This distributed entity is able to modify or adapt the distributed system by applying additional functionalities (remote advice) at various hooks located in different hosts (join points) and triggered via distributed connections (remote pointcuts).
References
edit- ^ A.S. Tanenbaum and M. van Steen. Distributed Systems: Principles and Paradigms (2nd Edition). Prentice-Hall, Inc., Upper Saddle River, NJ, USA, 2006.
- ^ M. Nishizawa, S. Chiba, and M. Tatsubori. Remote pointcut: a language construct for distributed aop. In AOSD ’04. New York, NY, USA, 2004.
- ^ Pawlak, R., Seinturier, L., Duchien, L., Florin, G., Legond-Aubry, F., and Martelli, L. 2004. JAC: an aspect-based distributed dynamic framework. Softw. Pract. Exper. 34, 12 (Oct. 2004), 1119-1148.
- ^ Benavides Navarro, L. D., Südholt, M., Vanderperren, W., De Fraine, B., Suvée, D.: Ex-plicitly distributed AOP using AWED. In Proceedings of the 5th Int. ACM Conf. on Aspect-Oriented Software Development (AOSD'06), March 2006. ACM Press.
- ^ Eric Tanter and Rodolfo Toledo, A Versatile Kernel for Distributed AOP, Lecture Notes in Computer Science 4025, pp. 316-331, 2006.
- ^ B. Lagaisse and W. Joosen. True and Transparent Distributed Com-position of Aspect-Components. In Proceedings Middleware'06, vo-lume 4290 of Lecture Notes in Computer Science, 2006.
- ^ R. Mondéjar, P. García-Lopez, C. Pairot, and L. Pamies-Juarez. Damon: a Distributed AOP Middleware for Large-Scale Scenarios. Information and Software Technology (2011).