Abstract
This paper introduces declarative event patterns (DEPs) as a means to implement protocols while improving their traceability, comprehensibility, and maintainability. DEPs are descriptions of sequences of events in the execution of a system that include the ability to recognize properly nested event structures. DEPs allow a developer to describe a protocol at a high-level, without the need to express extraneous details. A developer can indicate that specific actions be taken when a given pattern occurs. DEPs are automatically translated into the appropriate instrumentation and automaton for recognizing a given pattern. Support for DEPs has been implemented in a proof-of-concept extension to the AspectJ language that is based on advanced compiler technology. A case study is described that compares the use of DEPs in the implementation of a protocol (FTP user authentication) to the use of a set of other approaches, both object-oriented and aspect-oriented. Copyright 2004 ACM.
Author supplied keywords
Cite
CITATION STYLE
Walker, R. J., & Viggers, K. (2004). Implementing protocols via declarative event patterns. In Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering (pp. 159–169). Association for Computing Machinery (ACM). https://doi.org/10.1145/1041685.1029918
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.