Skip to main content

Modeling and Formal Analysis of a Client-Server Application for Cloud Services

  • Conference paper
  • First Online:
Web Services, Formal Methods, and Behavioral Types (WS-FM 2014, WS-FM 2015)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    http://modernizr.com/.

  2. 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. 3.

    http://asmeta.sourceforge.net/.

  4. 4.

    All the specifications are available at http://www.cdcc.faw.jku.at/publications/rchelemen/WS_FM_FASOCC2014_models.zip.

  5. 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. 6.
    figure m
    figure n

    .

References

  1. 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)

    Article  Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. 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

    Google Scholar 

  6. Ballis, D., Garca-Viv, J.: A rule-based system for web site verification. Electron. Notes Theor. Comput. Sci. 157(2), 11–17 (2006)

    Article  Google Scholar 

  7. Börger, E., Stärk, R.: Abstract State Machines: A Method for High-Level System Design and Analysis. Springer, Heidelberg (2003)

    Book  MATH  Google Scholar 

  8. 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)

    Chapter  Google Scholar 

  9. 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

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Gervasi, R.-M., Börger, E., Cisternino, A.: Modeling web applications infrastructure with ASMs. Sci. Comput. Programm. 94, 69–92 (2014)

    Article  Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. 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)

    Chapter  Google Scholar 

  14. 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

    Google Scholar 

  15. 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

    Google Scholar 

  16. Offutt, J., Wu, Y.: Modeling presentation layers of web applications for testing. Softw. Syst. Model. 9(2), 257–280 (2010)

    Article  Google Scholar 

  17. 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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Paolo Arcaini .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics