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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Abrial, J.-R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, New York, NY, USA (2010)
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)
Event-b and the Rodin platform. http://www.event-b.org (2012)
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)
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)
Ligot, O., Bendisposto, J., Leuschel, M.: Debugging event-b models using the prob disprover plug-in. In: Proceedings AFADL’07, June 2007
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
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)
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)
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
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
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)