Aspect of Assembly: From Theory to Performance

  • Jean-Yves Tigli
  • Stéphane Lavirotte
  • Gaëtan Rey
  • Nicolas Ferry
  • Vincent Hourdin
  • Sana Fathallah Ben Abdenneji
  • Christophe Vergoni
  • Michel Riveill
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7271)


Ubiquitous computing systems raise numerous challenges in software engineering. Among these, the dynamic variation of open ubiquitous computing environments requires continuous adaptation of applications. Aspect-Oriented Programming is a well-adapted technique to bring together independence of concerns and extensibility for dynamic adaptation. However, the dynamic adaptation has to occur within a reasonable timeframe, which requires a detailed knowledge of the weaving duration. In this paper, we introduce “Aspect of Assembly”, an aspect-oriented approach to develop services- and components-based applications. Then we study the response time of the adaptation process by decomposing the weaving process. The model of the duration of the adaptation process enables us to define a priori constraints to meet temporal requirements for real-world applications. Throughout this paper, we illustrate our work with an actual industrial use case to provide service continuity for a hydrant worker in the water industry.


AOP runtime adaptation ubiquitous computing CBSE consistency performance 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Aksit, M., Rensink, A., Staijen, T.: A graph-transformation-based simulation approach for analysing aspect interference on shared join points. In: Proceedings of the 8th ACM International Conference on Aspect-Oriented Software Development, pp. 39–50. ACM (2009)Google Scholar
  2. 2.
    Alia, M., Beauvois, M., Davin, Y., Rouvoy, R., Eliassen, F.: Components and aspects composition planning for ubiquitous adaptive services. In: Software Engineering and Advanced Applications, Euromicro Conference, pp. 231–234 (2010)Google Scholar
  3. 3.
    Berger, L.: Implementation of Interaction in Distributed, Compiled and strongly typed Environments: the MICADO model. Phd thesis, University of Nice-Sophia Antipolis (October 2001)Google Scholar
  4. 4.
    Bouzeghoub, A., Taconet, C., Jarraya, A., Do, N., Conan, D.: Complementarity of Process-oriented and Ontology-based Context Managers to Identify Situations. In: Int. Workshop on Context Modeling and Management for Smart Environments (CMMSE), pp. 222–229 (July 2010)Google Scholar
  5. 5.
    Charfi, A., Dinkelaker, T., Mezini, M., Darmstadt, S., Darmstadt, G.: A plug-in architecture for self-adaptive web service compositions. In: IEEE International Conference on Web Services, ICWS 2009, pp. 35–42 (2009)Google Scholar
  6. 6.
    Charfi, A., Mezini, M.: Aspect-Oriented Web Service Composition with AO4BPEL. In: Zhang, L.-J., Jeckle, M. (eds.) ECOWS 2004. LNCS, vol. 3250, pp. 168–182. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  7. 7.
    Cheng, B.H.C., de Lemos, R., Giese, H., Inverardi, P., Magee, J., Andersson, J., Becker, B., Bencomo, N., Brun, Y., Cukic, B., Di Marzo Serugendo, G., Dustdar, S., Finkelstein, A., Gacek, C., Geihs, K., Grassi, V., Karsai, G., Kienle, H.M., Kramer, J., Litoiu, M., Malek, S., Mirandola, R., Müller, H.A., Park, S., Shaw, M., Tichy, M., Tivoli, M., Weyns, D., Whittle, J.: Software Engineering for Self-Adaptive Systems: A Research Roadmap. In: Cheng, B.H.C., de Lemos, R., Giese, H., Inverardi, P., Magee, J. (eds.) Self-Adaptive Systems. LNCS, vol. 5525, pp. 1–26. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  8. 8.
    Cheung, D., Tigli, J., Lavirotte, S., Riveill, M.: Wcomp: a Multi-Design Approach for Prototyping Applications using Heterogeneous Resources. In: Proceedings of the 17th IEEE International Workshop on Rapid System Prototyping, Chania-Crete (2006)Google Scholar
  9. 9.
    Cheung-Foo-Wo, D.: Dynamic adaptation using aspect weaving. Ph.D. thesis, University of Nice-Sophia Antipolis (2009)Google Scholar
  10. 10.
    Crowley, J., Coutaz, J., Bérard, F.: Perceptual user interfaces: things that see. Communications of the ACM 43(3) (2000)Google Scholar
  11. 11.
    David, P.-C., Ledoux, T.: An Aspect-Oriented Approach for Developing Self-Adaptive Fractal Components. In: Löwe, W., Südholt, M. (eds.) SC 2006. LNCS, vol. 4089, pp. 82–97. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  12. 12.
    Douence, R., Südholt, M.: A model and a tool for event-based aspect-oriented programming (EAOP). Techn. Ber., Ecole des Mines de Nantes. TR 2(11) (2002)Google Scholar
  13. 13.
    Fathallah Ben Abdenneji, S., Lavirotte, S., Tigli, J.Y., Rey, G., Riveill, M.: MergeIA: A Service for Dynamic Merging of Interfering Adaptations in Ubiquitous System. In: Proceedings of the Fifth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies (UBICOMM), pp. 34–38 (November 2011)Google Scholar
  14. 14.
    Ferry, N., Hourdin, V., Lavirotte, S., Rey, G., Tigli, J.Y., Riveill, M.: Models at Runtime: Service for Device Composition and Adaptation. In: 4th International Workshop Models@Run.Time at Models 2009 (MRT 2009), pp. 51–60 (October 2009)Google Scholar
  15. 15.
    Fleissner, S., Baniassad, E.L.A.: Epi-aspects: aspect-oriented conscientious software. In: Proceedings of the 22nd Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems and Applications, OOPSLA 2007, pp. 659–674. ACM, Montreal (2007)CrossRefGoogle Scholar
  16. 16.
    Geihs, K., Reichle, R., Wagner, M., Khan, M.U.: Modeling of Context-Aware Self-Adaptive Applications in Ubiquitous and Service-Oriented Environments. In: Cheng, B.H.C., de Lemos, R., Giese, H., Inverardi, P., Magee, J. (eds.) Self-Adaptive Systems. LNCS, vol. 5525, pp. 146–163. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  17. 17.
    Greenwood, P., Blair, L.: A Framework for Policy Driven Auto-adaptive Systems Using Dynamic Framed Aspects. In: Rashid, A., Aksit, M. (eds.) Transactions on AOSD II. LNCS, vol. 4242, pp. 30–65. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  18. 18.
    Greenwood, P., Lagaisse, B., Sanen, F., Coulson, G., Rashid, A., Truyen, E., Joosen, W.: Interactions in AO Middleware. In: Proceedings of the Workshop on Aspects, Dependencies, and Interactions (2007)Google Scholar
  19. 19.
    Gu, T., Pung, H., Zhang, D.: Peer-to-peer context reasoning in pervasive computing environments. In: Sixth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom 2008), pp. 406–411. IEEE (2008)Google Scholar
  20. 20.
    Hirschfeld, R., Kawamura, K.: Dynamic service adaptation. Software: Practice and Experience 36(11-12), 1115–1131 (2006)CrossRefGoogle Scholar
  21. 21.
    Katz, E., Katz, S.: Incremental analysis of interference among aspects. In: Proceedings of the 7th Workshop on Foundations of Aspect-Oriented Languages, FOAL 2008, pp. 29–38. ACM, Brussels (2008)CrossRefGoogle Scholar
  22. 22.
    Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J.M., Irwin, J.: Aspect-Oriented Programming. In: Aksit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997)CrossRefGoogle Scholar
  23. 23.
    MacKenzie, I., Ware, C.: Lag as a determinant of human performance in interactive systems. In: Proceedings of the INTERACT 1993 and CHI 1993 Conference on Human Factors in Computing Systems, pp. 488–493. ACM (1993)Google Scholar
  24. 24.
    McKinley, P., Sadjadi, S., Kasten, E., Cheng, B.: A taxonomy of compositional adaptation. Tech. Rep. MSU-CSE-04-17, Michigan State University (2004)Google Scholar
  25. 25.
    Munnelly, J., Fritsch, S., Clarke, S.: An aspect-oriented approach to the modularisation of context. In: Fifth Annual IEEE International Conference on Pervasive Computing and Communications, PerCom 2007, pp. 114–124. IEEE (2007)Google Scholar
  26. 26.
    Munoz, F., Baudry, B.: Validation challenges in model composition: The case of adaptive systems. In: First International Workshop on Challenges in Model-Driven Software Engineering (ChaMDE 2008) in MoDELS, p. 51 (2008)Google Scholar
  27. 27.
    Pessemier, N., Seinturier, L., Coupaye, T., Duchien, L.: A Model for Developing Component-Based and Aspect-Oriented Systems. In: Löwe, W., Südholt, M. (eds.) SC 2006. LNCS, vol. 4089, pp. 259–274. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  28. 28.
    Romero, D., Rouvoy, R., Seinturier, L., Loiret, F.: Integration of Heterogeneous Context Resources in Ubiquitous Environments. In: 36th EUROMICRO International Conference on Software Engineering and Advanced Applications (2010)Google Scholar
  29. 29.
    Rouvoy, R., Eliassen, F., Beauvois, M.: Dynamic planning and weaving of dependability concerns for self-adaptive ubiquitous services. In: Proceedings of the 2009 ACM Symposium on Applied Computing, pp. 1021–1028. ACM (2009)Google Scholar
  30. 30.
    Tanter, É.: Aspects of Composition in the Reflex AOP Kernel. In: Löwe, W., Südholt, M. (eds.) SC 2006. LNCS, vol. 4089, pp. 98–113. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  31. 31.
    Tian, K., Cooper, K., Zhang, K., Yu, H.: A classification of aspect composition problems. In: Proceedings of the 2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement, SSIRI 2009, pp. 101–109. IEEE (2009)Google Scholar
  32. 32.
    Tigli, J.Y., Lavirotte, S., Rey, G., Hourdin, V., Cheung-Foo-Wo, D., Callegari, E., Riveill, M.: WComp Middleware for Ubiquitous Computing: Aspects and Composite Event-based Web Services. Annals of Telecommunications (AoT) 64 (April 2009)Google Scholar
  33. 33.
    Tigli, J.Y., Lavirotte, S., Rey, G., Hourdin, V., Riveill, M.: Lightweight Service Oriented Architecture for Pervasive Computing. International Journal of Computer Science Issues (IJCSI) 4, 1–9 (2009)Google Scholar
  34. 34.
    Vasseur, A.: Dynamic AOP and Runtime Weaving for Java—How does AspectWerkz Address It? In: Proceedings of the 2004 Dynamic Aspect Workshop (DAW 2004), pp. 135–145 (2004)Google Scholar
  35. 35.
    Wagner, M.: Context as a service. In: Proceedings of the 12th ACM International Conference Adjunct Papers on Ubiquitous Computing, pp. 489–492. ACM (2010)Google Scholar
  36. 36.
    Weiser, M.: The computer for the twenty-first century. Scientific American 265(3), 94–104 (1991)CrossRefGoogle Scholar
  37. 37.
    Whittle, J., Jayaraman, P.: MATA: A Tool for Aspect-Oriented Modeling Based on Graph Transformation. In: Giese, H. (ed.) MODELS 2008. LNCS, vol. 5002, pp. 16–27. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  38. 38.
    Yang, Z., Cheng, B., Stirewalt, R., Sowell, J., Sadjadi, S., McKinley, P.: An aspect-oriented approach to dynamic adaptation. In: Proceedings of the First Workshop on Self-Healing Systems, pp. 85–92. ACM (2002)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Jean-Yves Tigli
    • 1
  • Stéphane Lavirotte
    • 1
  • Gaëtan Rey
    • 1
  • Nicolas Ferry
    • 1
    • 2
  • Vincent Hourdin
    • 1
  • Sana Fathallah Ben Abdenneji
    • 1
  • Christophe Vergoni
    • 1
    • 3
  • Michel Riveill
    • 1
  1. 1.Laboratoire I3S - UNS/CNRSUniversité de Nice - Sophia AntipolisSophia-Antipolis CedexFrance
  2. 2.CSTB (French Scientific and Technical Centre for Building)Sophia-Antipolis CedexFrance
  3. 3.GFI InformatiqueSophia Antipolis CedexFrance

Personalised recommendations