Skip to main content

Contract-Oriented Services

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 7843))

Abstract

The customary practice to regulate the functioning of services is to set terms & conditions. These are legal documents constraining the way services should be used and (sometimes) specifying what providers offer. In such documents it is not rare to find statements like

‘‘We do our best to keep Facebook safe, but we cannot guarantee it’’ (notably, safety is not defined in [1]!)

I argue that —despite being a practical way out— this is far from being ideal. For instance, the lack of precise guarantees is a main deterrent for industries wishing to move their applications and business to the cloud. Quoting from [2],

‘‘Absent radical improvements in security technology, we expect that users will use contracts and courts, rather than clever security engineering, to guard against provider malfeasance.’’

The key point is that computer scientists and IT practitioners should strive for robust techniques and methodologies capable of specifying formal contracts amenable of verification.

I will overview some research recently carried out to address those issues.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   49.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. http://www.facebook.com/legal/terms (revision date June 8, 2012)

  2. Armbrust, M., Fox, A., Griffith, R., Joseph, A., Katz, R., Konwinski, A., Lee, G., Patterson, D., Rabkin, A., Stoica, I., Zaharia, M.: A view of cloud computing. CACM 53(4), 50–58 (2010)

    Article  Google Scholar 

  3. Bartoletti, M., Scalas, A., Tuosto, E., Zunino, R.: Honesty by typing. CoRR, arXiv:1211.2609 (2012)

    Google Scholar 

  4. Bartoletti, M., Tuosto, E., Zunino, R.: Contracts in distributed systems. In: Silva, A., Bliudze, S., Bruni, R., Carbone, M. (eds.) ICE, vol. 59, pp. 130–147 (2011)

    Google Scholar 

  5. Bartoletti, M., Tuosto, E., Zunino, R.: Contract-Oriented Computing in CO2. Scientific Annals of Computer Science 22(1), 5–60 (2012)

    Article  MathSciNet  Google Scholar 

  6. Bartoletti, M., Tuosto, E., Zunino, R.: On the realizability of contracts in dishonest systems. In: Sirjani, M. (ed.) COORDINATION 2012. LNCS, vol. 7274, pp. 245–260. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  7. Bocchi, L., Honda, K., Tuosto, E., Yoshida, N.: A theory of design-by-contract for distributed multiparty interactions. In: Gastin, P., Laroussinie, F. (eds.) CONCUR 2010. LNCS, vol. 6269, pp. 162–176. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  8. Bocchi, L., Lange, J., Tuosto, E.: Amending contracts for choreographies. In: ICE, pp. 111–129 (2011)

    Google Scholar 

  9. Bocchi, L., Lange, J., Tuosto, E.: Three algorithms and a methodology for amending contracts for choreographies. Sci. Ann. Comp. Sci. 22(1), 61–104 (2012)

    MathSciNet  Google Scholar 

  10. Caires, L., Vieira, H.T.: Conversation types. In: Castagna, G. (ed.) ESOP 2009. LNCS, vol. 5502, pp. 285–300. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  11. Castagna, G., Gesbert, N., Padovani, L.: A theory of contracts for web services. ACM Transactions on Programming Languages and Systems 31(5) (2009)

    Google Scholar 

  12. Castagna, G., Padovani, L.: Contracts for mobile processes. In: Bravetti, M., Zavattaro, G. (eds.) CONCUR 2009. LNCS, vol. 5710, pp. 211–228. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  13. Dijkstra, E.: A Discipline of Programming. Prentice-Hall (1976)

    Google Scholar 

  14. Findler, R.B., Latendresse, M., Felleisen, M.: Behavioral contracts and behavioral subtyping. SIGSOFT Softw. Eng. Notes 26(5), 229–236 (2001)

    Article  Google Scholar 

  15. Floyd, R.W.: Assigning meaning to programs. In: Proc. Symp. in Applied Mathematics, vol. 19 (1967)

    Google Scholar 

  16. Hoare, T.: An axiomatic basis of computer programming. CACM 12 (1969)

    Google Scholar 

  17. Honda, K., Vasconcelos, V.T., Kubo, M.: Language primitives and type discipline for structured communication-based programming. In: Hankin, C. (ed.) ESOP 1998. LNCS, vol. 1381, pp. 122–138. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  18. Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. In: POPL 2008, pp. 273–284. ACM (2008)

    Google Scholar 

  19. Kavantzas, N., Burdett, D., Ritzinger, G., Fletcher, T., Lafon, Y.: Working Draft (December 17, 2004), http://www.w3.org/TR/2004/WD-ws-cdl-10-20041217

  20. Kingsley, P.: How tiny Estonia stepped out of USSR’s shadow to become an Internet titan, http://www.guardian.co.uk/technology/2012/apr/15/estonia-ussr-shadow-internet-titan

  21. Lange, J., Tuosto, E.: A modular toolkit for distributed interactions. In: PLACES, pp. 92–110 (2010)

    Google Scholar 

  22. Lange, J., Tuosto, E.: Synthesising choreographies from local session types. In: Koutny, M., Ulidowski, I. (eds.) CONCUR 2012. LNCS, vol. 7454, pp. 225–239. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  23. Meyer, B.: Applying “Design by Contract”. Computer 25(10), 40–51 (1992)

    Article  Google Scholar 

  24. Nordio, M., Mitin, R., Meyer, B., Ghezzi, C., Di Nitto, E., Tamburrelli, G.: The role of contracts in distributed development. In: Gotel, O., Joseph, M., Meyer, B. (eds.) SEAFOOD 2009. LNBIP, vol. 35, pp. 117–129. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  25. Poyias, K., Tuosto, E.: Enforcing architectural styles in presence of unexpected distributed reconfigurations. In: ICE (2012) (to appear)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tuosto, E. (2013). Contract-Oriented Services. In: ter Beek, M.H., Lohmann, N. (eds) Web Services and Formal Methods. WS-FM 2012. Lecture Notes in Computer Science, vol 7843. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38230-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-38230-7_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-38229-1

  • Online ISBN: 978-3-642-38230-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics