Abstract
In the context of Cloud computing, a service can be invoked by distinct devices having different HW/SW characteristics; therefore, the content must be adapted to each device profile. A solution consists in having a middleware server that receives requests from the clients, forwards them to the cloud, and adapts the answers coming from the cloud on the base of device profiles. This paper proposes a formalization of this framework using Abstract State Machines (ASMs). The modeling process is based on the ASMs refinement method, and has been guided and supported by several validation and verification activities to guarantee consistency, correctness, and reliability properties.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
If we need some extra information regarding the device, and we cannot get it using modernizr, then we use a device detection database tool, as WURFL. However, this feature is not considered in this work.
- 3.
- 4.
All the specifications are available at http://www.cdcc.faw.jku.at/publications/rchelemen/WS_FM_FASOCC2014_models.zip.
- 5.
Note that we have actually checked a slightly different property, because in NuSMV (the model checker used by AsmetaSMV) a CTL formula holds if it holds in all initial states. More information can be found in the NuSMV FAQ http://nusmv.fbk.eu/faq.html#007.
- 6.
.
References
Alalfi, M.H., Cordy, J.R., Dean, T.R.: Modelling methods for web application verification and testing: state of the art. Softw. Test. Verif. Reliab. 19(4), 265–296 (2009)
Arcaini, P., Gargantini, A., Riccobene, E.: AsmetaSMV: a way to link high-level ASM models to low-level NuSMV specifications. In: Frappier, M., Glässer, U., Khurshid, S., Laleau, R., Reeves, S. (eds.) ABZ 2010. LNCS, vol. 5977, pp. 61–74. Springer, Heidelberg (2010)
Arcaini, P., Gargantini, A., Riccobene, E.: Automatic review of abstract state machines by meta property verification. In: Muñoz, C. (ed.) Proceedings of the Second NASA Formal Methods Symposium (NFM), pp. 4–13. NASA (2010)
Arcaini, P., Gargantini, A., Riccobene, E., Scandurra, P.: A model-driven process for engineering a toolset for a formal method. Softw. Pract. Experience 41, 155–166 (2011)
Ardagna, D., Di Nitto, E., Mohagheghi, P., Mosser, S., Ballagny, C., D’Andria, F., Casale, G., Matthews, P., Nechifor, C.-S., Petcu, D., Gericke, A., Sheridan, C.: Modaclouds: a model-driven approach for the design and execution of applications on multiple clouds. In: 2012 ICSE Workshop on Modeling in Software Engineering (MISE), pp. 50–56, June 2012
Ballis, D., Garca-Viv, J.: A rule-based system for web site verification. Electron. Notes Theor. Comput. Sci. 157(2), 11–17 (2006)
Börger, E., Stärk, R.: Abstract State Machines: A Method for High-Level System Design and Analysis. Springer, Heidelberg (2003)
Carioni, A., Gargantini, A., Riccobene, E., Scandurra, P.: A scenario-based validation language for ASMs. In: Börger, E., Butler, M., Bowen, J.P., Boca, P. (eds.) ABZ 2008. LNCS, vol. 5238, pp. 71–84. Springer, Heidelberg (2008)
Chelemen, R.-M.: Modeling a web application for cloud content adaptation with ASMs. In: 2013 International Conference on Cloud Computing and Big Data (CloudCom-Asia), pp. 44–51, December 2013
Gargantini, A., Riccobene, E., Scandurra, P.: A metamodel-based language and a simulation engine for abstract state machines. J. Univ. Comput. Sci. 14(12), 1949–1983 (2008)
Gervasi, R.-M., Börger, E., Cisternino, A.: Modeling web applications infrastructure with ASMs. Sci. Comput. Programm. 94, 69–92 (2014)
Haydar, M., Petrenko, A., Boroday, S., Sahraoui, H.: A formal approach for run-time verification of web applications using scope-extended LTL. Inf. Softw. Technol. 55(12), 2191–2208 (2013)
Heitmeyer, C.L.: On the need for practical formal methods. In: Ravn, A.P., Rischel, H. (eds.) FTRTFT 1998. LNCS, vol. 1486, pp. 18–26. Springer, Heidelberg (1998)
Homma, K., Izumi, S., Abe, Y., Takahashi, K., Togashi., A: Using the model checker spin for web application design. In: 2010 10th IEEE/IPSJ International Symposium on Applications and the Internet (SAINT), pp. 137–140, July 2010
Mao-shan, S., Yi-hai, C., Sheng-bo, C., Mei-Jia: A model checking approach to web application navigation model with session mechanism. In: 2010 International Conference on Computer Application and System Modeling (ICCASM), vol. 5, pp. V5–398–V5–403, October 2010
Offutt, J., Wu, Y.: Modeling presentation layers of web applications for testing. Softw. Syst. Model. 9(2), 257–280 (2010)
Schewe, K.-D., Bósa, K., Lampesberger, H., Ma, H., Vleju, M.B.: The Christian Doppler laboratory for client-centric cloud computing. In: 2nd Workshop on Software Services (WoSS 2011), Timisoara, Romania, June 2011
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Arcaini, P., Holom, RM., Riccobene, E. (2016). Modeling and Formal Analysis of a Client-Server Application for Cloud Services. In: Hildebrandt, T., Ravara, A., van der Werf, J., Weidlich, M. (eds) Web Services, Formal Methods, and Behavioral Types. WS-FM WS-FM 2014 2015. Lecture Notes in Computer Science(), vol 9421. Springer, Cham. https://doi.org/10.1007/978-3-319-33612-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-319-33612-1_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-33611-4
Online ISBN: 978-3-319-33612-1
eBook Packages: Computer ScienceComputer Science (R0)