skip to main content
research-article

Integrating Transactions into BPEL Service Compositions: An Aspect-Based Approach

Authors Info & Claims
Published:26 May 2015Publication History
Skip Abstract Section

Abstract

The concept of software as a service has been increasingly adopted to develop distributed applications. Ensuring the reliability of loosely coupled compositions is a challenging task because of the open, dynamic, and independent nature of composable services; this is especially true when the execution of a service-based process relies on independent but correlated services. Transactions are the prototypical case of compositions spanning across multiple services and needing properties to be valid throughout the whole execution. Although transaction protocols and service composition languages have been proposed in the past decade, a true viable and effective solution is still missing. In this article, we propose a systematic aspect-based approach to integrating transactions into service compositions, taking into account the well-known protocols: Web Service Transaction and Business Process Execution Language (BPEL). In our approach, transaction policies are first defined as a set of aspects. They are then converted to standard BPEL elements. Finally, these transaction-related elements and the original BPEL process are weaved together, resulting in a transactional executable BPEL process. At runtime, transaction management is the responsibility of a middleware, which implements the coordination framework and transaction protocols followed by the transactional BPEL process and transaction-aware Web services. To automate the proposed approach, we developed a supporting platform called Salan to aid the tasks of defining, validating, and weaving aspect-based transaction policies, and of deploying the transactional BPEL processes. By means of a case study, we demonstrate the proposed approach and evaluate the performance of the supporting platform. Experimental results show that this approach is effective in producing reliable business processes while reducing the need for direct human involvement.

References

  1. G. Alonso, D. Agrawal, A. El Abbadi, M. Kamath, R. Gunthor, and C. Mohan. 1996. Advanced transaction models in workflow contexts. In Proceedings of the 12th International Conference on Data Engineering. IEEE, Los Alamitos, CA, 574--581. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Apache. 2013a. Apache Kandul. Retrieved April 24, 2015, from http://wso2.com/projects/kandula/java.Google ScholarGoogle Scholar
  3. Apache. 2013b. Apache ODE. Retrieved April 24, 2015, from http://ode.apache.org.Google ScholarGoogle Scholar
  4. Apache. 2013c. Apache Tomcat. Retrieved April 24, 2015, from http://tomcat.apache.org.Google ScholarGoogle Scholar
  5. M. Braem, K. Verlaenen, N. Joncheere, W. Vanderperren, R. Van Der Straeten, E. Truyen, W. Joosen, and V. Jonckers. 2006. Isolating process-level concerns using Padus. In Proceedings of the 4th International Conference of Business Process Management. 113--128. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Charfi and M. Mezini. 2007. AO4BPEL: An aspect-oriented extension to BPEL. World Wide Web 10, 1, 309--344. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. A. Charfi, B. Schmeling, A. Heizenreder, and M. Mezini. 2006. Reliable, secure, and transacted Web service compositions with AO4BPEL. In Proceedings of the 4th European Conference on Web Services (ECOWS’06). 23--34. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. A. Charfi, B. Schmeling, and M. Mezini. 2007. Transactional BPEL processes with AO4BPEL aspects. In Proceedings of the 5th European Conference on Web Services (ECOWS’07). 149--158. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. F. Curbera, R. Khalaf, N. Mukhi, S. Tai, and S. Weerawarana. 2003. The next step in Web services. Communications of the ACM 46, 10, 29--34. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Eder and W. Liebhart. 1996. Workflow recovery. In Proceedings of the 1st IFCIS International Conference on Cooperative Information Systems (COOPIS’96). 124--134. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. A. Erradi, P. Maheshwari, and V. Tosic. 2006. Recovery policies for enhancing Web services reliability. In Proceedings of the 4th IEEE International Conference on Web Services (ICWS’06). 189--196. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. H. Erven, G. Hicker, C. Huemer, and M. Zapletal. 2007. The Web services-business activity-initiator (WS-BA-I) protocol: An extension to the Web Services-Business Activity specification. In Proceedings of the 5th IEEE International Conference on Web Services (ICWS’07). 216--224.Google ScholarGoogle Scholar
  13. R. Eshuis, J. Vonk, and P. Grefen. 2011. Transactional process views. In On the Move to Meaningful Internet Systems: OTM 2011. Lecture Notes in Computer Science, Vol. 7044. Springer, 119--136. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. T. Fletcher, P. Furniss, A. Green, and R. Haugen. 2003. BPEL and business transaction management. In Choreology Submission to OASIS WS-BPEL Technical Committee.Google ScholarGoogle Scholar
  15. J. Gray. 1981. The transaction concept: Virtues and limitations. In Proceedings of the International Conference on Very Large Data Bases (VLDB’81). 144--154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. P. Greenfield, A. Fekete, J. Jang, and D. Kuo. 2003. Compensation is not enough. In Proceedings of the 7th International Conference on Enterprise Distributed Object Computing (EDOC’03). 232--239. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Grefen. 1993. Combining theory and practice in integrity control: A declarative approach to the specification of a transaction modification subsystem. In Proceedings of the 19th International Conference on Very Large Data Bases (VLDB’93). 581--591. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. IBM. 2006. Web Services Atomic Transaction for WebSphere Application Server. Available at http://www.alphaworks.ibm.com/tech/wsat.Google ScholarGoogle Scholar
  19. G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. Lopes, J. Loingtier, and J. Irwin. 1997. Aspect-oriented programming. In Proceedings of the 11th European Conference on Object-Oriented Programming. 220--242.Google ScholarGoogle Scholar
  20. B. Limthanmaphon and Y. Zhang. 2004. Web service composition transaction management. In Proceedings of the 15th Australasian Database Conference (ADC’04). Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. Little. 2003. Transactions and Web services. Communications of the ACM 46, 10, 49--54. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. S. Maple. 2004. Distributed Transaction with WS-AtomicTransaction and JTA. Technical Report. IBM.Google ScholarGoogle Scholar
  23. OASIS. 2004. Business Transaction Protocol Version 1.0. Retrieved April 24, 2015, from https://www.oasis-open.org/committees/business-transaction/documents/.Google ScholarGoogle Scholar
  24. OASIS. 2007. Web Services Business Process Execution Language Version 2.0. Retrieved April 24, 2015, from http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html.Google ScholarGoogle Scholar
  25. M. Papazoglou. 2003. Web services and business transactions. World Wide Web 6, 1, 49--91. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. M. Papazoglou, P. Traverso, S. Dustdar, and F. Leymann. 2008. Service-oriented computing: A research roadmap. International Journal of Cooperative Information Systems 17, 2, 223--255.Google ScholarGoogle ScholarCross RefCross Ref
  27. R. Park. 1992. Software Size Measurement: A Framework for Counting Source Statements. Technical Report CMU/SEI-92-TR-20.Google ScholarGoogle Scholar
  28. A. Portilla. 2006. Providing transactional behavior to services coordination. In Proceedings of the Very Large Data Bases (VLDB) PhD Workshop.Google ScholarGoogle Scholar
  29. M. Schäfer, P. Dolog, and W. Nejdl. 2008. An environment for flexible advanced compensations of Web service transactions. ACM Transactions on the Web 2, 2, 1--36. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. H. Schuldt, G. Alonso, C. Beeri, and H.-J. Schek. 2002. Atomicity and isolation for transactional processes. ACM Transactions on Database Systems 27, 1, 63--116. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. C. Sun. 2009. Towards transaction-based reliable service compositions. In Proceedings of the 33rd Annual IEEE International Computer Software and Application Conference (COMPSAC’09). IEEE, Los Alamitos, CA, 216--221. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. C. Sun and M. Aiello. 2007. Requirements and evaluation of protocols and tools for transaction management in service centric systems. In Proceedings of the International Workshop on Requirements Engineering for Services (REFS’07), in conjunction with COMPSAC 2007. IEEE, Los Alamitos, CA, 461--466. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. C. Sun, E. Khoury, and M. Aiello. 2011a. Transaction management in service-oriented systems: Requirements and a proposal. IEEE Transactions on Services Computing 4, 2, 167--180. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. C. Sun, Y. Shang, and F. Li. 2011b. A transaction-aware Web service development framework. Chinese Journal on Computer Science 38, 10, 6--11.Google ScholarGoogle Scholar
  35. S. Tai, R. Khalaf, and T. Mikalsen. 2004. Composition of coordinated Web services. In Proceedings of the 5th ACM/IFIP/USENIX International Conference on Middleware. 294--310. Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. SeCSE Team. 2007. Designing and deploying service-centric systems: The SeCSE way. In Proceedings of Service Oriented Computing: A Look at the Inside ([email protected]’07).Google ScholarGoogle Scholar
  37. JBoss Transactions. 2013. JBoss Transactions Home Page. Retrieved April 24, 2015, from http://labs.jboss.com/portal/jbosstm.Google ScholarGoogle Scholar
  38. I. Vasquez, J. Miller, K. Verma, and A. Sheth. 2005. OpenWS-Transaction: Enabling reliable Web service transactions. In Proceedings of the 3rd International Conference on Service Oriented Computing (ICSOC’05). 490--494. Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. WS-AT. 2007. Web Services Atomic Transaction (WS-AtomicTransaction), Version 1.1. Technical Report. Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., IBM, IONA Technologies, and Microsoft.Google ScholarGoogle Scholar
  40. WS-BA. 2007. Web Services Atomic Transaction (WS-AtomicTransaction), Version 1.1. Technical Report. Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., IBM, IONA Technologies, and Microsoft.Google ScholarGoogle Scholar
  41. WS-C. 2007. Web Services Coordination (WS-Coordination). Technical Report. Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., IBM, IONA Technologies, and Microsoft.Google ScholarGoogle Scholar
  42. WSDL. 2007. Web Services Description Language Version (WSDL) Version 2.0 Part 1: Core Language. Retrieved April 24, 2015, from http://www.w3.org/TR/wsdl20/.Google ScholarGoogle Scholar
  43. L. Zeng, H. Lei, J. Jeng, J. Chung, and B. Benatallah. 2005. Policy-driven exception-management for composite Web services. In Proceedings of the 17th IEEE International Conference on E-Commerce Technology (CEC’05). 355--363. Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. O. Zimmermann, J. Grundler, S. Tai, and F. Leymann. 2007. Architectural decisions and patterns for transactional workflows in SOA. In Proceedings of the 5th International Conference on Service Oriented Computing (ICSOC’07). 81--93. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Integrating Transactions into BPEL Service Compositions: An Aspect-Based Approach

            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

            Full Access

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader
            About Cookies On This Site

            We use cookies to ensure that we give you the best experience on our website.

            Learn more

            Got it!