Run-Time Adaptation of Non-functional Properties of Composite Web Services Using Aspect-Oriented Programming

  • N. C. Narendra
  • Karthikeyan Ponnalagu
  • Jayatheerthan Krishnamurthy
  • R. Ramkumar
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4749)


Existing web service composition and adaptation mechanisms are limited only to the scope of web service choreography in terms of web service selection/invocation vis-à-vis pre-specified Service Level Agreement constraints. Such a scope hardly leaves ground for a participating service in a choreographed flow to re-adjust itself in terms of changed non functional expectations and most often these services are discarded and new services discovered to get inducted into the flow. In this paper, we extend this idea by focusing on run-time adaptation of non-functional features of a composite Web service by modifying the non-functional features of its component Web services. We use aspect-oriented programming (AOP) technology for specifying and relating non-functional properties of the Web services as aspects at both levels of component and composite. This is done via a specification language for representing non-functional properties, and a formally specifiable relation function between the aspects of the component Web services and those of the composite Web service. From the end users’ viewpoint, such upfront aspect-oriented modeling of non-functional properties enables on-demand composite Web service adaptation with minimal disruption in quality of service. We demonstrate the applicability and merits of our approach via an implementation of a simple yet real-life example.


Service Level Agreement Composite Service Aspect Orient Program Policy Assertion Service Level Agreement Constraint 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J., Irwin, J.: Aspect Oriented Programming. In: Aksit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997)CrossRefGoogle Scholar
  2. 2.
    Popovici, A., Gross, T., Alonso, G.: Dynamic Weaving for Aspect Oriented Programming. In: Proceedings of 1st International Conference on Aspect-Oriented Software Development, Enschede, The Netherlands (2002)Google Scholar
  3. 3.
    Nicoara, A., Alonso, G.: Dynamic AOP with PROSE. Department of Computer Science, Swiss Federal Institute of Technology Zurich (ETH Zurich), CH-8092 Zurich, Switzerland, accessible from
  4. 4.
    Popovici, A., Alonso, G., Gross, T.: Just in Time Aspects: Efficient Dynamic Weaving for Java. In: Proceedings of 2nd International Conference on Aspect-Oriented Software Development, Boston, USA (2003)Google Scholar
  5. 5.
    Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., Griswold, W.G.: An Overview of AspectJ. In: Knudsen, J.L. (ed.) ECOOP 2001. LNCS, vol. 2072, pp. 18–22. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  6. 6.
    Ortiz, G., Hernandez, J., Clemente, P.J.: Decoupling Non-Functional Properties in WebServices: As Aspect-Oriented Approach. In: ICSOC’2004. Proceedings of The 2nd International Conference on Service Oriented Computing, New-York, USA (2004)Google Scholar
  7. 7.
    Wohladter, E., Tai, S., Thomas, A., Rouvellou, I., Devanbu, P.: GlueQoS: Middleware to Sweeten Quality-of-Service Policy Interactions. In: ICSE. Proceedings of International Conference on Software Engineering, Edinburgh, UK (2004)Google Scholar
  8. 8.
    Ma, K.J.: Web Services: What’s Real and What’s Not. IEEE IT Professional 7(2) (2005)Google Scholar
  9. 9.
    Nishizawa, M., Chiba, S., Tatsubori, M.: Remote Pointcut – A Language Construct for Distributed AOP. In: AOSD’04. Proceedings of International Conference on Aspect-Oriented Software Development, Lancaster, UK, March 22-26, pp. 7–15. ACM Press, New York (2004)Google Scholar
  10. 10.
    Charfi, A., Schmeling, B., Heizenreder, A., Mezini, M.: Reliable, Secure and Transacted Web Service Compositions with AO4BPEL. In: ICSOC’2004. Proceedings of The 2nd International Conference on Service Oriented Computing, New-York, USA (2004)Google Scholar
  11. 11.
    Cibrán, M.A., Verheecke, B.: Modularizing Web Services Management with AOP. In: Cardelli, L. (ed.) ECOOP 2003. LNCS, vol. 2743, Springer, Heidelberg (2003)Google Scholar
  12. 12.
    Benatallah, B., Sheng, Q.Z., Ngu, A.H.H., Dumas, M.: Declarative Composition and Peer-to-Peer Provisioning of Dynamic Web Services. In: ICDE. Proceedings of International Conference on Data Engineering (2002), also available from
  13. 13.
    Berardi, D., Calvanese, D., De Giacomo, G., Lenzerini, M., Mecella, M.: A Foundational Vision for E-Services. In: Eder, J., Missikoff, M. (eds.) CAiSE 2003. LNCS, vol. 2681, Springer, Heidelberg (2003)Google Scholar
  14. 14.
    Kouadri Mostefaoui, G., Maamar, Z., Narendra, N.C., Sattanathan, S.: Decoupliing Security Concerns in Web Services Using Aspects. In: ITNG 2006. Proceedings of Information Technology – New Generations, IEEE Computer Society Press, Los Alamitos (2006)Google Scholar
  15. 15.
    Kongdenfha, W., Saint-Paul, R., Benatallah, B., Casati, F.: An Aspect-Oriented Framework for Service Adaptation. In: Dan, A., Lamersdorf, W. (eds.) ICSOC 2006. LNCS, vol. 4294, Springer, Heidelberg (2006)CrossRefGoogle Scholar
  16. 16.
    Kouadri Mostefaoui, G., Maamar, Z., Narendra, N.C., Thiran, Ph.: On Modeling and Developing Self-Healing Web Services Using Aspects. In: COMSWARE 2007. Proceedings of 2nd International Conference on Communication Software and Middleware, IEEE Communications Society, Los Alamitos (2007)Google Scholar
  17. 17.
    Cottenier, T., van den Berg, A., Elrad, T.: Joinpoint Inference from Behavioral Specification to Implementation. In: ECOOP. Proceedings of European Conference on Object-Oriented Programming (to appear, 2007)Google Scholar
  18. 18.
    Baresi, L., Guinea, S., Plebani, P.: WS-Policy for Service Monitoring. In: Proceedings of TES 2005 (September 2005)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • N. C. Narendra
    • 1
  • Karthikeyan Ponnalagu
    • 1
  • Jayatheerthan Krishnamurthy
    • 2
  • R. Ramkumar
    • 2
  1. 1.IBM India Research Lab, BangaloreIndia
  2. 2.IBM India Software Lab, BangaloreIndia

Personalised recommendations