Fine-Grained Semi-automated Runtime Evolution

  • Walter Cazzola
  • Nicole Alicia Rossini
  • Phillipa Bennett
  • Sai Pradeep Mandalaparty
  • Robert France
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8378)


Modern software systems that play critical roles in society are often required to change at runtime so that they can continuously provide essential services in the dynamic environments they operate in. Updating open, distributed software systems at runtime is very challenging. Using runtime models as an interface for updating software at runtime can help developers manage the complexity of updating software while it is executing. In this chapter we describe an approach to updating Java software at runtime through the use of runtime models consisting of UML class and sequence diagrams. Changes to models are transformed to changes on Java source code, which is then propagated to the runtime system using the JavAdaptor technology. In particular, the presented approach permits in-the-small software changes, i.e., changes at the code statement level, as opposed to in-the-large changes, i.e., changes at the component level. We present a case study that demonstrates the major aspects of the approach and its use. We also give the results of a preliminary evaluation of the approach.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Blair, G.S., Bencomo, N., France, R.B.: Models@run.time. IEEE Computer 42(10), 22–27 (2009)CrossRefGoogle Scholar
  2. 2.
    Cazzola, W., Pini, S., Ghoneim, A., Saake, G.: Co-Evolving Application Code and Design Models by Exploiting Meta-Data. In: Proceedings of the 12th Annual ACM Symposium on Applied Computing (SAC 2007), Seoul, South Korea, March 11–15, pp. 1275–1279. ACM Press (2007)Google Scholar
  3. 3.
    Chechik, M., Lai, W., Nejati, S., Cabot, J., Diskin, Z., Easterbrook, S., Sabetzadeh, M., Salay, R.: Relationship-Based Change Propagation: A Case Study. In: Proceedings of the ICSE Workshop on Modeling in Software Engineering (MiSE 2009), Vancouver, Canada, pp. 7–12. IEEE (May 2009)Google Scholar
  4. 4.
    Costa-Soria, C., Hervás-Muñoz, D., Pérez Benedí, J., Carsí Cubel, J.A.: A Reflective Approach for Supporting the Dynamic Evolution of Component Types. In: Proceedings of the 14th IEEE International Conference on Engineering of Complex Computer Systems (ICECCS 2009), pp. 301–310, Potsdam, Germany (June 2009)Google Scholar
  5. 5.
    Dzidek, W.J., Arisholm, E., Briand, L.C.: A Realistic Empirical Evaluation of the Costs and Benefits of UML in Software Maintenance. IEEE Transactions on Software Engineering 34(3), 407–432 (2008)CrossRefGoogle Scholar
  6. 6.
    Floch, J., Hallsteinsen, S., Stav, E., Eliassen, F., Lund, K., Gjørven, E.: Beyond Design Time: Using Architecture Models for Runtime Adaptability. IEEE Software 23(2), 62–70 (2006)CrossRefGoogle Scholar
  7. 7.
    France, R.B., Rumpe, B.: Model-Driven Development of Complex Software: A Research Roadmap. In: Briand, L.C., Wolf, A.L. (eds.) Proceedings of Future of Software Engineering (FoSE 2007), Minneapolis, MN, USA, pp. 37–54. IEEE Computer Society (May 2007)Google Scholar
  8. 8.
    Garlan, D., Cheng, S.-W., Huang, A.-C., Schmerl, B., Steenkiste, P.: Rainbow: Architecture-Based Self Adaptation with Reusable Infrastructure. IEEE Computer 37(10), 46–54 (2004)CrossRefGoogle Scholar
  9. 9.
    Georgas, J.C., van der Hoek, A., Taylor, R.N.: Using Architectural Models to Manage and Visualize Runtime Adaptation. IEEE Computer 42(10), 52–60 (2009)CrossRefGoogle Scholar
  10. 10.
    Hicks, M., Nettles, S.: Dynamic Software Updating. ACM Transaction on Programming Languages and Systems 27(6), 1049–1096 (2005)CrossRefGoogle Scholar
  11. 11.
    Kramer, J., Magee, J.: Self-Managed Systems: an Architectural Challenge. In: Briand, L.C., Wolf, A.L. (eds.) Proceedings of 29th International Conference on Software Engineering (ICSE 2007): Future of Software Engineering (FoSE 2007), Minneapolis, MN, USA, pp. 259–268. IEEE Computer Society (May 2007)Google Scholar
  12. 12.
    Morin, B., Barais, O., Jézéquel, J.-M., Fleurey, F., Solberg, A.: Models@ Run.time to Support Dynamic Adaptation. IEEE Computer 42(10), 44–51 (2009)CrossRefGoogle Scholar
  13. 13.
    Oreizy, P., Medvidovic, N., Taylor, R.N.: Architecture-Based Runtime Software Evolution. In: Proceedings of the 20th International Conference on Software Engineering (ICSE 1998), Kyoto, Japan, pp. 177–186. IEEE Computer Society (1998)Google Scholar
  14. 14.
    Orso, A., Rao, A., Harrold, M.J.: A Technique for Dynamic Updating of Java Software. In: Proceedings of the International Conference on Software Maintenance (ICSM 2002), Montréal, Canada, pp. 649–658. IEEE Press (October 2002)Google Scholar
  15. 15.
    Pukall, M., Kästner, C., Cazzola, W., Götz, S., Grebhahn, A., Schöter, R., Saake, G.: JavAdaptor — Flexible Runtime Updates of Java Applications. Software—Practice and Experience 43(2), 153–185 (2013)CrossRefGoogle Scholar
  16. 16.
    Sadjadi, S.M., McKinley, P.K.: ACT: An Adaptive CORBA Template to Support Unanticipated Adaptation. In: Proceedings of the 24th International Conference on Distributed Computing Systems (ICDCS 2004), Tokyo, Japan, pp. 74–83. IEEE Computer Society (March 2004)Google Scholar
  17. 17.
    Salehie, M., Tahvildari, L.: Self-Adaptive Software: Landscape and Research Challenges. ACM Transactions on Autonomous and Adaptive Systems 14, 14:1–14:42 (2009)Google Scholar
  18. 18.
    Stoyle, G., Hicks, M., Bierman, G., Sewell, P., Neamtiu, I.: Mutatis Mutandis: Safe and Predictable Dynamic Software Updating. ACM Transaction on Programming Languages and Systems 29(4) (August 2007)Google Scholar
  19. 19.
    Ubayashi, N., Akatoki, H., Nomura, J.: Pointcut-based Architectural Interface for Bridging a Gap between Design and Implementation. In: Oriol, M., Cazzola, W., Chiba, S., Saake, G. (eds.) Proceedings of the 6th ECOOP Workshop on Reflection, AOP and Meta-Data for Software Evolution (RAM-SE 2009), Genoa, Italy (July 2009)Google Scholar
  20. 20.
    Čech Previtali, S., Gross, T.: Dynamic Updating of Software Systems Based on Aspects. In: Proceedings of the 22nd IEEE International Conference on Software Maintenance (ICSM 2006), Philadelphia, USA, pp. 83–92 (September 2006)Google Scholar
  21. 21.
    Vogel, T., Giese, H.: Adaptation and Abstract Runtime Models. In: Proceedings of the ICSE Workshop on Software Engineering for Adaptive and Self-Managing Systems (SEAMS 2010), Cape Town, South Africa, pp. 39–48. ACM (May 2010)Google Scholar
  22. 22.
    Zhang, J., Cheng, B.H.C.: Model-Based Development of Dynamically Adaptive Software. In: Proceedings of the 28th International Conference on Software Engineering (ICSE 2006), Shanghai, China, pp. 371–380. ACM (May 2006)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Walter Cazzola
    • 1
  • Nicole Alicia Rossini
    • 1
  • Phillipa Bennett
    • 2
  • Sai Pradeep Mandalaparty
    • 2
  • Robert France
    • 2
  1. 1.Computer Science DepartmentUniversitá degli Studi di MilanoItaly
  2. 2.Computer Science DepartmentColorado State UniversityUSA

Personalised recommendations