Context-oriented programming for customizable SaaS applications

Truyen, Eddy;Cardozo Alvarez, Nicolas;Walravens, Stefan;Vallejos, Jorge;Joosen, Wouter;et.al.
(2012) 27th Symposium On Applied Computing — Location: Trento, Italy (26.March.2012)

Files

SAC2012.pdf
  • Restricted Access
  • Adobe PDF
  • 348.76 KB

Details

Authors
  • Truyen, EddyK.U.Leuven
    Author
  • Cardozo Alvarez, NicolasUCLouvain
    Author
  • Walravens, StefanK.U.Leuven
    Author
  • Vallejos, JorgeVrije Universiteit Brussel
    Author
  • Joosen, WouterK.U.Leuven
    Author
Show more
Abstract
Software-as-a-Service (SaaS) applications are multi-tenant software applications that are delivered as highly congurable web services to individual customers, which are called tenants in this context. For reasons of complexity management and to lower maintenance cost, SaaS providers maintain and deploy a single version of the application code for all tenants. As a result, however, custom-made extensions for individual tenants cannot be eciently integrated and managed. In this paper we show that by using a context-oriented programming model, cross-tier tenant-specic software variations can be easily integrated into the single-version application code base. Moreover, the selection of which variations to execute can be congured on a per tenant basis. Concretely, we provide a technical case study based on Google App Engine (GAE), a cloud platform for building multitenant web applications. We contribute by showing: (a) how ContextJ, a context-oriented programming (COP) language, can be used with GAE, (b) the increase in exibility and customizability of tenant-specic software variations using ContextJ as compared to Google's dependency injec tion framework Guice, and (c) that the performance of using ContextJ is comparable to Guice. Based on these observa- tions, we come to the conclusion that COP can be helpful for providing software variations in SaaS.
Affiliations

Citations

Truyen, E., Cardozo Alvarez, N., Walravens, S., Vallejos, J., Bainomugisha, E., Günther, S., D’Hondt, T., & Joosen, W. (2012). Context-oriented programming for customizable SaaS applications. Symposium On Applied Computing, Cloud Computing track, 1-8. https://doi.org/10.1145/2245276.2245358 (Original work published 2012)