Dynamic Weaving in Aspect Oriented Business Process Management

  • Amin Jalali
  • Petia Wohed
  • Chun Ouyang
  • Paul Johannesson
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8185)


Reducing complexity in Information Systems is an important topic in both research and industry. One strategy to deal with complexity is separation of concerns, which results in less complex, easily maintainable and more reusable systems. Separation of concerns can be addressed through the Aspect Oriented paradigm. Although this paradigm has been well researched in programming, it is still at the preliminary stage in the area of Business Process Management. While some efforts have been made to extend business process modelling with aspect oriented capability, it has not yet been investigated how aspect oriented business process models should be executed at runtime. In this paper, we propose a generic solution to support execution of aspect oriented business process models based on the principle behind dynamic weaving of aspects. This solution is formally specified using Coloured Petri Nets. The resulting formal specification serves as the blueprint to the implementation of a service module in the framework of a state-of-the-art Business Process Management System. Using this developed artefact, a case study is performed in which two simplified processes from real business in the domain of banking are modelled and executed in an aspect oriented manner. Through this case study, we also demonstrate that adoption of aspect oriented modularization increases the reusability while reducing the complexity of business process models in practice.


Business Process Management Aspect Oriented Weaving Service Oriented Architecture Reusability Coloured Petri Nets 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    van der Aalst, W.M.P.: Three Good reasons for Using a Petri-net-based Workflow Management System. In: Information and Process Integration in Enterprises, vol. 428, pp. 161–182. Springer, US (1998)CrossRefGoogle Scholar
  2. 2.
    van der Aalst, W.M.P., Aldred, L., Dumas, M., ter Hofstede, A.H.M.: Design and implementation of the YAWL system. In: Persson, A., Stirna, J. (eds.) CAiSE 2004. LNCS, vol. 3084, pp. 142–159. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  3. 3.
    van der Aalst, W.M.P., ter Hofstede, A.H.M.: Yawl: yet another workflow language. Information Systems 30(4), 245–275 (2005)CrossRefGoogle Scholar
  4. 4.
    van der Aalst, W.M.P., ter Hofstede, A.H.M., Weske, M.: Business Process Management: A Survey. In: van der Aalst, W.M.P., ter Hofstede, A.H.M., Weske, M. (eds.) BPM 2003. LNCS, vol. 2678, pp. 1–12. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  5. 5.
    Adams, M.J.: Facilitating Dynamic Flexibility and Exception Handling for Workflows. PhD thesis, Faculty of Information Technology, Queensland University of Technology (November 2007)Google Scholar
  6. 6.
    Agrawal, A., et al.: WS-BPEL extension for people (BPEL4People), version 1.0. OASIS Cover Pages (2007), http://xml.coverpages.org/BPEL4People-V1-200706.pdf
  7. 7.
    Cappelli, C., et al.: Reflections on the modularity of business process models: The case for introducing the aspect-oriented paradigm. BPM Journal 16, 662–687 (1995)Google Scholar
  8. 8.
    Belblidia, N., Debbabi, M.: Formalizing AspectJ Weaving for Static Pointcuts. In: SEFM, pp. 50–59. IEEE Computer Society (2006)Google Scholar
  9. 9.
    Cappelli, C., Leite, J.C.S.P., Batista, T., Silva, L.: An aspect-oriented approach to business process modeling. In: Proceedings of the 15th Workshop on Early Aspects, EA 2009, pp.7–12. ACM (2009)Google Scholar
  10. 10.
    Charfi, A.: Aspect-oriented workflow languages: AO4BPEL and applications. PhD thesis, der Technischen Universitat Darmstadt, Darmstadt (November 2007)Google Scholar
  11. 11.
    Verheecke, B., Cibrán, M.A., Jonckers, V.: Aspect-Oriented Web Service Composition with AO4BPEL. In (LJ) Zhang, L.-J., Jeckle, M. (eds.) ECOWS 2004. LNCS, vol. 3250, pp. 168–182. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  12. 12.
    Charfi, A., Mezini, M.: AO4BPEL: An Aspect-oriented Extension to BPEL. World Wide Web 10, 309–344 (2007)CrossRefGoogle Scholar
  13. 13.
    Charfi, A., Müller, H., Mezini, M.: Aspect-Oriented Business Process Modeling with AO4BPMN. In: Kühne, T., Selic, B., Gervais, M.-P., Terrier, F. (eds.) ECMFA 2010. LNCS, vol. 6138, pp. 48–61. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  14. 14.
    Di Francescomarino, C.: Supporting Documentation and Evolution of Crosscutting Concerns in Business Processes. In: Motahari Nezhad, H.R., et al. (eds.) ICSOC PhD Symposium. CEUR Workshop Proceedings, vol. 421 (2008)Google Scholar
  15. 15.
    Gruhn, V., Laue, R.: Reducing the cognitive complexity of business process models. In: IEEE ICCI, pp. 339–345 (2009)Google Scholar
  16. 16.
    Ho, W.-M., Jézéquel, J.-M., Pennaneac’h, F., Plouzeau, N.: A Toolkit for Weaving Aspect Oriented UML Designs. In: AOSD, pp. 99–105 (2002)Google Scholar
  17. 17.
    Jalali, A., Johannesson, P.: Multi-Perspective Business Process Monitoring. In: Nurcan, S., Proper, H.A., Soffer, P., Krogstie, J., Schmidt, R., Halpin, T., Bider, I. (eds.) BPMDS 2013 and EMMSAD 2013. LNBIP, vol. 147, pp. 199–213. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  18. 18.
    Jalali, A., Wohed, P., Ouyang, C.: Aspect oriented business process modelling with precedence. In: Mendling, J., Weidlich, M. (eds.) BPMN 2012. LNBIP, vol. 125, pp. 23–37. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  19. 19.
    Jalali, A., Wohed, P., Ouyang, C.: Operational semantics of aspects in business process management. In: Herrero, P., Panetto, H., Meersman, R., Dillon, T. (eds.) OTM 2012 Workshops. LNCS, vol. 7567, pp. 649–653. Springer, Heidelberg (2012)Google Scholar
  20. 20.
    Jézéquel, J.-M.: Model Driven Design and Aspect Weaving. Software and System Modeling 7(2), 209–218 (2008)CrossRefGoogle Scholar
  21. 21.
    Klein, J., Fleurey, F., Jézéquel, J.-M.: Weaving Multiple Aspects in Sequence Diagrams. In: Rashid, A., Aksit, M. (eds.) Transactions on AOSD III. LNCS, vol. 4620, pp. 167–199. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  22. 22.
    Machado, I., Bonifácio, R., Alves, V., Turnes, L., Machado, G.: Managing variability in business processes: an aspect-oriented approach. In: Proceedings of the 2011 International Workshop on Early Aspects, EA 2011, pp. 25–30. ACM (2011)Google Scholar
  23. 23.
    Mendling, J., Reijers, H.A., Cardoso, J.: What Makes Process Models Understandable? In: Alonso, G., Dadam, P., Rosemann, M. (eds.) BPM 2007. LNCS, vol. 4714, pp. 48–63. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  24. 24.
    Perin-Souza, A., Cappelli, C., Santoro, F.M., Azevedo, L.G., do Prado Leite, J.C.S., Batista, T.V.: Service identification in aspect-oriented business process models. In: SOSE, pp. 164–174 (2011)Google Scholar
  25. 25.
    Pinto, M., Fuentes, L., Fayad, M.E., Troya, J.M.: Separation of coordination in a dynamic aspect oriented framework. In: Proceedings of the 1st International Conference on Aspect-Oriented Software Development, pp. 134–140. ACM (2002)Google Scholar
  26. 26.
    Popovici, A., Alonso, G., Gross, T.: Just-In-Time Aspects: Efficient Dynamic Weaving for Java. In: Proceedings of the 2nd International Conference on Aspect-Oriented Software Development, pp. 100–109. ACM Press (2003)Google Scholar
  27. 27.
    Popovici, A., Gross, T., Alonso, G.: Dynamic weaving for aspect-oriented programming. In: Proceedings of the 1st International Conference on Aspect-Oriented Software Development, AOSD 2002, pp. 141–147. ACM (2002)Google Scholar
  28. 28.
    La Rosa, M., Wohed, P., Mendling, J., ter Hofstede, A.H.M., Reijers, H.A., van der Aalst, W.M.P.: Managing Process Model Complexity Via Abstract Syntax Modifications. IEEE Trans. Industrial Informatics 7(4), 614–629 (2011)CrossRefGoogle Scholar
  29. 29.
    Russell, N., van der Aalst, W.M.P., ter Hofstede, A.H.M., Edmond, D.: Workflow Resource Patterns: Identification, Representation and Tool Support. In: Pastor, O., Falcão e Cunha, J. (eds.) CAiSE 2005. LNCS, vol. 3520, pp. 216–232. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  30. 30.
    SantÁnna, C., Garcia, A., Chavez, C., Lucena, C., von Staa, A.: On the reuse and maintenance of aspect-oriented software: An assessment framework. In: Proceedings of Brazilian Symposium on Software Engineering, pp. 19–34 (2003)Google Scholar
  31. 31.
    Santos, N., Jack, F., do Prado Leite, S., Cesar, J., Claudia, C., Batista, T., Santoro, F.M.: Using goals to identify aspects in business process models. In: Proc. of the 2011 International Workshop on Early Aspects, EA 2011, pp. 19–23. ACM (2011)Google Scholar
  32. 32.
    Streit, A., Pham, B., Brown, R.: Visualization Support for Managing Large Business Process Specifications. In: van der Aalst, W.M.P., Benatallah, B., Casati, F., Curbera, F. (eds.) BPM 2005. LNCS, vol. 3649, pp. 205–219. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  33. 33.
    Weber, B., Reichert, M., Mendling, J., Reijers, H.A.: Refactoring large process model repositories. Computers in Industry 62(5), 467–486 (2011)CrossRefGoogle Scholar
  34. 34.
    Weske, M.: Business Process Management: Concepts, Languages, Architectures. Springer (2007)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Amin Jalali
    • 1
  • Petia Wohed
    • 1
  • Chun Ouyang
    • 2
  • Paul Johannesson
    • 1
  1. 1.Department of Computer and Systems SciencesStockholm UniversitySweden
  2. 2.Science and Engineering FacultyQueensland University of TechnologyAustralia

Personalised recommendations