An Approach to Add Multi-tenancy to Existing Applications

Uwe Hohenstein, Preeti Koka


Multi-tenancy, i.e., sharing resources amongst several tenants, is a key element to make SaaS profitable by saving resources and operational costs. This paper considers multi-tenancy in the context of Cloud migration and presents an approach to let existing applications become multi-tenant. The novelty of this approach is that no reengineering and modification of the application’s source code is required. Adding some new components is sufficient to achieve tenant management, authentication, tenant isolation, and also customization. Using a case study, the paper demonstrates in detail how to benefit from aspect-orientation, particularly the AspectJ language, in this respect and concludes with experiences.


  1. Andrikopoulos, V., Binz, T., Leymann, F., Strauch, S., 2013. How to adapt applications for the Cloud environment - Challenges and solutions in migrating applications to the cloud. Computing 2013, 95(6): pp. 493- 535.
  2. Bezemer, C., Zaidman, A. Platzbeecke, B. Hurkmans, T., Hart, A., 2010. Enabling multitenancy: An industrial experience report. In: Technical Report of Delft Uni. of Technology, TUD-SERG-2010-030, 2010.
  3. Bezemer, C., Zaidman, A., 2010. Challenges of reengineering into multitenant SaaS applications. In: Technical Report of Delft Uni. of Technology, TUD-SERG2010-012, 2010.
  4. Binz, T., Leymann, F., Schumm, D., 2011: CMotion: A framework for migration of applications into and between clouds. SOCA 2011, pp 1-4.
  5. Chong, F., Carraro, G., 2006. Architecture strategies for catching the long tail (2006), https://msdn /aa479069.aspx.
  6. Chong, F., Carraro, G., Wolter, R., 2006. Multi-tenant data architecture. /aa479086.aspx (June 2006).
  7. Elrad, T., Filman, R., Bader, A., 2001: Theme section on aspect-oriented programming. CACM 44(10), 2001.
  8. Fehling, C., Leymann, F., Mietzner, R., 2010: A framework for optimized distribution of tenants in cloud applications. IEEE 3rd Int. Conference on, Cloud Computing (CLOUD), 2010, pp. 252-259.
  9. Guo, C., Sun, W., Huang, Y., Wang, Z., Gao, B., 2007: A framework for native multi-tenancy application development and management. In: CEC/EEE 2007: Int. Conf. on Enterprise Computing, E-Commerce Technology and Int. Conf. On Enterprise Computing, ECommerce and E-Services, pp. 551-558 (2007).
  10. Khajeh-Hosseini, A., Greenwood, D., Smith, J., Sommerville, I., 2012. The cloud adoption toolkit: supporting cloud adoption decisions in the enterprise. Software, Practice Experiences 42(4): 447-465 (2012).
  11. Kiczales, G., et al., 2007. Aspect-oriented programming. In: Proc. of the European Conf. on Object-Oriented Programming (ECOOP), pp. 230-242, Finland 1997.
  12. Kong, L., Li, Q., Zheng, X., 2010. A novel model supporting customization sharing in SaaS applications,” in Int. Conf. on Multimedia Information Networking and Security (MINES), 2010, pp. 225-229.
  13. Krebs, R., Momm, C., Kounev, S., 2012. Architectural concerns in multi-tenant SaaS applications. CLOSER 2012, pp. 426-431.
  14. Kwok, T., Nguyen, T., Lam, L., 2008. A software as a service with multi-tenancy support for an electronic contract management application. In: Int. Conf. on Services Computing (SCC) 2008. pp. 179-186.
  15. Laddad, R., 2009: AspectJ in Action: Practical AspectOriented Programming (2nd ed.) Manning, Greenwich (2009).
  16. Lee, W., Choi, M., 2012. A multi-tenant web application framework for SaaS. In 2012 IEEE 5th Int. Conf. on Cloud Computing (CLOUD), 2012, pp. 970-971.
  17. Lee, J., Kang, S., Hur, S., 2012. Web-based development framework for customizing java-based business logic of SaaS application. In 14th Int. Conf. on Advanced Communication Technology (ICACT), 2012, pp. 1310-1313.
  18. Li, Q., Liu, S., Pan, Y., 2012. A cooperative construction approach for SaaS applications. In 2012 IEEE 16th Int. Conf. on Computer Supported Cooperative Work in Design (CSCWD), 2012, pp. 398-403.
  19. Lizhen, C., Haiyang, W., Lin, J., Pu, H., 2010. Customization modeling based on metagraph for multi-tenant applications. In 5th Int. Conf. on Pervasive Computing and Applications (ICPCA), 2010, pp. 255-260.
  20. Mell, P., Grance, T., 2011. The NIST definition of cloud computing,” National Institute of Standards and Technology, Sept. 2011. /publications/ nistpubs/800-145/SP800-145.pdf.
  21. Moens, H., Truyen, E., Walraven, S., Joosen, W., Dhoedt, B., De Turck, F., 2012. Developing and managing customizable software as a service using feature model conversion. In IEEE Network Operations and Management Symposium (NOMS), 2012, pp. 1295-1302.
  22. Momm, C., Krebs, R., 2011. A qualitative discussion of different approaches for implementing multi-tenant SaaS offerings. Proc. Software Engineering 2011, pp. 139-150.
  23. Orue-Echevarria et al., 2014. Cloudifying applications with ARTIST: A global modernization approach to move applications onto the cloud. CLOSER 2014, pp. 737-745.
  24. Park, J., Moon, M., Yeom, K., 2011. Variability modeling to develop flexible service-oriented applications. Journal of Systems Science and Systems Engineering 2011, Vol. 20, no. 2, pp. 193-216.
  25. Pohl, K., Böckle, G., v. d. Linden, F., 2005. Software product line engineering: foundations, principles and techniques. Secaucus, NJ, USA: Springer-Verlag New York, Inc., 2005.
  26. Ruiz-Agundez, I., Penya, Y., Bringas, P., 2011. A flexible accounting model for cloud computing," SRII, 2011.
  27. Schwanengel, A., Hohenstein, U., 2013. Challenges with tenant-specific cost determination in multi-tenant applications. 4th Int. Conf. on Cloud Computing, Grids and Virtualization 2013.
  28. Shahin, A., Samir, A., Khamis, A., 2013. An aspectoriented approach for SaaS application customization. 48th Conf. on Statistics, Computer Science and Operations Research, Cairo University, Egypt, 2013.
  29. Tsai, W., Shao, Q., Li, W., 2010. OIC: Ontology-based intelligent customization framework for SaaS. In IEEE Int. Conf. on Service-Oriented Computing and Applications (SOCA), 2010, pp. 1-8.
  30. Tsai, W., Sun, X., 2013. SaaS multi-tenant application customization. In IEEE 7th Int. Symposium on Service Oriented System Engineering (SOSE), 2013, pp. 1-12.
  31. Walraven, S., Truyen, E., W. Joosen, W., 2011. A middleware layer for flexible and cost-efficient multitenant applications. Proc. on Middleware, 2011 (LNCS 7049), pp. 370-389.
  32. Wang Z. et al, 2008: A study and performance evaluation of the multi-tenant data tier design pattern for service oriented computing. In IEEE Int. Conf. On eBusiness Engineering, (ICEBE) 2008, 94-101.
  33. Wang, H., Zheng, Z., 2010. Software Architecture Driven Configurability of Multi-tenant Saas Applications. LNCS Vol. 6318, 2010 pp. 418-424.
  34. Zhou, X., Yi, L., Liu, Y., 2011. A collaborative requirement elicitation technique for SaaS applications. In 2011 IEEE Int. Conf. on Service Operations, Logistics, and Informatics (SOLI), 2011, pp. 83-88.

Paper Citation

in Harvard Style

Hohenstein U. and Koka P. (2016). An Approach to Add Multi-tenancy to Existing Applications . In Proceedings of the 11th International Joint Conference on Software Technologies - Volume 2: ICSOFT-PT, (ICSOFT 2016) ISBN 978-989-758-194-6, pages 39-49. DOI: 10.5220/0005973800390049

in Bibtex Style

author={Uwe Hohenstein and Preeti Koka},
title={An Approach to Add Multi-tenancy to Existing Applications},
booktitle={Proceedings of the 11th International Joint Conference on Software Technologies - Volume 2: ICSOFT-PT, (ICSOFT 2016)},

in EndNote Style

JO - Proceedings of the 11th International Joint Conference on Software Technologies - Volume 2: ICSOFT-PT, (ICSOFT 2016)
TI - An Approach to Add Multi-tenancy to Existing Applications
SN - 978-989-758-194-6
AU - Hohenstein U.
AU - Koka P.
PY - 2016
SP - 39
EP - 49
DO - 10.5220/0005973800390049