Skip to main content

A Model-Based Method for Modeling and Verifying Event-Based Aspect-Oriented Applications

  • Conference paper
  • First Online:
Recent Advances and Future Prospects in Knowledge, Information and Creativity Support Systems (KICSS 2015)

Abstract

Event-based aspect-oriented programming (EAOP) model allows to systematically treat relationship between point-cuts and to execute aspects whenever receiving events emitted by the base program. However, this model neither comes with formal specification nor provides any mechanism to verify its properties formally. In this paper, we propose a model-based method based on Event-B formal method to analyze an EAOP application. First, we specify its components in Event-B notations where we make use of Event-B refinement mechanism to model the base and the monitoring programs. After that, we exploit Event-B generated proof obligations to check if the application constraints are affected by aspect cross-cuts. Finally, the proposed method is illustrated in detail with an example.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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

References

  1. Abrial, J.-R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, New York, NY, USA (2010)

    Book  MATH  Google Scholar 

  2. Douence, R., Südholt, M.: A model and a tool for event-based aspect-oriented programming (EAOP). Technical report TR 02/11/INFO, École des Mines de Nantes (2002)

    Google Scholar 

  3. Event-b and the Rodin platform. http://www.event-b.org (2012)

  4. Guan, L., Li, X., Hu, H.: A petri net-based approach for supporting aspect-oriented modeling. In: Theoretical Aspects of Software Engineeering, 2008, pp. 83–90 (2008)

    Google Scholar 

  5. Holzer, A., Ziarek, L., Jayaram, K., Eugster, P.: Putting events in context: aspects for event-based distributed programming. In: Proceedings of the Tenth International Conference on Aspect-oriented Software Development, AOSD ’11, pp. 241–252. ACM, New York, NY, USA (2011)

    Google Scholar 

  6. Ligot, O., Bendisposto, J., Leuschel, M.: Debugging event-b models using the prob disprover plug-in. In: Proceedings AFADL’07, June 2007

    Google Scholar 

  7. Thuan, T.N., Ha, N.V.: Using b to verify the weaving of aspects. In: 14th Asia-Pacific Software Engineering Conference, APSEC 2007, pp. 199–205, Dec 2007

    Google Scholar 

  8. Ubayashi, N., Tamai, T.: Aspect-oriented programming with model checking. In: Proceedings of the 1st International Conference On Aspect-oriented software development, AOSD ’02, pp. 148–154. ACM, New York, NY, USA (2002)

    Google Scholar 

  9. Xu, D.-X., El-Ariss, O., Xu, W.-F., Wang, L.-Z.: Aspect-oriented modeling and verification with finite state machines. J. Comput. Sci. Technol. 24(5), 949–961 (2009)

    Article  MathSciNet  Google Scholar 

  10. Zhang, J., Chen, Y., Liu, G.: Modeling aspect-oriented programming with UML profile. In: First International Workshop on Education Technology and Computer Science, 2009. ETCS ’09. vol. 2, pp. 242–245, March 2009

    Google Scholar 

Download references

Acknowledgement

This work is partly supported by the project no. 102.03–2014.40 granted by Vietnam National Foundation for Science and Technology Development (Nafosted).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hong Anh Le .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Le, H.A., Truong, N.T., Nanthaamornphong, A. (2018). A Model-Based Method for Modeling and Verifying Event-Based Aspect-Oriented Applications. In: Theeramunkong, T., Skulimowski, A., Yuizono, T., Kunifuji, S. (eds) Recent Advances and Future Prospects in Knowledge, Information and Creativity Support Systems. KICSS 2015. Advances in Intelligent Systems and Computing, vol 685. Springer, Cham. https://doi.org/10.1007/978-3-319-70019-9_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-70019-9_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-70018-2

  • Online ISBN: 978-3-319-70019-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics