skip to main content
10.1145/1040305.1040323acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article

Theoretical foundations for compensations in flow composition languages

Published:12 January 2005Publication History

ABSTRACT

A key aspect when aggregating business processes and web services is to assure transactional properties of process executions. Since transactions in this context may require long periods of time to complete, traditional mechanisms for guaranteeing atomicity are not always appropriate. Generally the concept of long running transactions relies on a weaker notion of atomicity based on compensations. For this reason, programming languages for service composition cannot leave out two key aspects: compensations, i.e. ad hoc activities that can undo the effects of a process that fails to complete, and transactional boundaries to delimit the scope of a transactional flow. This paper presents a hierarchy of transactional calculi with increasing expressiveness. We start from a very small language in which activities can only be composed sequentially. Then, we progressively introduce parallel composition, nesting, programmable compensations and exception handling. A running example illustrates the main features of each calculus in the hierarchy.

References

  1. W. Aalst, M. Dumas, and A. Hofstede. Web service composition languages: Old wine in new bottles? Proc. of EUROMICRO'03, pp. 298--307. IEEE Computer Society, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. W. Aalst, M. Dumas, and A. Hofstede, and P. Wohed, Analysis of web services composition languages: The case of bpel4ws. Proc. of ER'03, vol. 2813 of LNCS, pp. 200--215. Springer, 2003.Google ScholarGoogle Scholar
  3. B. Benatallah and R. Hamadi. A Petri net-based model for web service composition. Proc. of ADC'03, pp. 191--200. Australian Computer Society, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. L. Bocchi, C. Laneve, and G. Zavattaro. A calculus for long-running transactions. Proc. of FMOODS'03, vol. 2884 of LNCS, pp. 124--138. Springer, 2003.Google ScholarGoogle Scholar
  5. bpel Specification. Version 1.1. Available at http://www.ibm.com/developerworks/library/ws-bpel.Google ScholarGoogle Scholar
  6. Business process modelling language (bpml). http://www.bpmi.org.Google ScholarGoogle Scholar
  7. A. Brogi, C. Canal, E. Pimentel, and A. Vallecillo. Formalizing web services choreographies. Proc. of WS-FM'04. To appear as ENTCS. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. R. Bruni, H. Melgratti, and U. Montanari. Nested commits for mobile calculi: extending Join. Proc. of IFIP-TCS'04, pp. 569--582. Kluwer, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  9. M. Butler, M. Chessell, C. Ferreira, C. Griffin, P. Henderson, and D. Vines. Extending the concept of transaction compensation. IBM Systems Journal, 41(4):743--758, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Butler and C. Ferreira. An operational semantics for StAC, a language for modelling long-running business transactions. Proc. of Coordination'04, vol. 2949 of LNCS, pp. 87--104. Springer, 2004.Google ScholarGoogle Scholar
  11. P. Chrysanthis and K. Ramamritham. Transaction Models for Advanced Applications, acta: The saga Continues, pp. 349---397. Morgan Kaufmann, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. H. Garcia-Molina and K. Salem. Sagas. Proc. of ACM SIGMOD'87, pp. 249--259. ACM Press, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. D. Georgakopoulos, M. Hornick, and A. Sheth. An overview of workflow management: From process modeling to workflow automation infrastructure. Distributed and Parallel Databases, 3(2):119--153, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. C. Hoare. Long-running transactions. Slides for the Second Microsoft .NET Crash Course 2002. http://research.microsoft.com/Collaboration/University/Europe/Events/dotnetcc/Version2.Google ScholarGoogle Scholar
  15. A. Hosking, S. Jagannathan, J. Vitek, and A. Welc. A semantic framework for designer transactions. Proc. of ESOP'04, vol. 2986 of LNCS, pp. 249--263. Springer, 2004.Google ScholarGoogle Scholar
  16. F. Leymann. The wsfl Guide. Available at http://www.ibm.com/software/solutions/webservices/documentation.html.Google ScholarGoogle Scholar
  17. M. Mazzara and R. Lucchi. A framework for generic error handling in business processes. Proc. WS-FM'04. To appear as ENTCS. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. L. G. Meredith and S. Bjorg. Contracts and types. Commun. ACM, 46(10):41--47, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Moss. Nested Transactions: An Approach to Reliable Distributed Computing. PhD thesis, Dept. of Electrical Eng. and Computer Sci., MIT, 1981.Google ScholarGoogle Scholar
  20. A. Sheth and D. Worah. Transactions in transactional workflows. Advanced Transaction Models and Architectures, pp. 3--34. Kluwer, 1997.Google ScholarGoogle Scholar
  21. S. Thatte. xlang: Web Services for Business Process Design. Available at http://www.gotdotnet.com/team/xml_wsspecs/xlang-c.Google ScholarGoogle Scholar
  22. M. Viroli. Towards a formal foundation to orchestration languages. Proc. of WS-FM'04. To appear as ENTCS. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. WebSphere Software Platform. IBM. Available at http://www.ibm.com/software/websphere.Google ScholarGoogle Scholar
  24. wsci Specification. Version 1.0. Available at http://www.w3.org/TR/wsci.Google ScholarGoogle Scholar

Index Terms

  1. Theoretical foundations for compensations in flow composition languages

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                POPL '05: Proceedings of the 32nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages
                January 2005
                402 pages
                ISBN:158113830X
                DOI:10.1145/1040305
                • General Chair:
                • Jens Palsberg,
                • Program Chair:
                • Martín Abadi
                • cover image ACM SIGPLAN Notices
                  ACM SIGPLAN Notices  Volume 40, Issue 1
                  Proceedings of the 32nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages
                  January 2005
                  391 pages
                  ISSN:0362-1340
                  EISSN:1558-1160
                  DOI:10.1145/1047659
                  Issue’s Table of Contents

                Copyright © 2005 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 12 January 2005

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                Overall Acceptance Rate824of4,130submissions,20%

                Upcoming Conference

                POPL '25

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader