{"title":"Modélisation par aspects et transformation vers AspectJ et Hyper/J","authors":"Ouafa Hachani, D. Bardou","doi":"10.3166/objet.11.1-2.127-142","DOIUrl":null,"url":null,"abstract":"The use of the aspect-oriented concepts and mechanisms can improve the object-oriented design patterns implementation. However a certain lack of consensus on the basic aspect-oriented concepts and relations and the diversity of the suggested programming languages related to the Aspect approach, make it uneasy to express new pattern structures in a way that is not dependent from a specific programming language. We propose to avoid this difficulty by relying on a general meta-model for the aspect-oriented modeling that we worked out by identifying the common concepts and relations of both AspectJ and Hyper/J, two of the principal today aspect-oriented programming languages. This paper introduces this meta-model along with two meta-models that are respectively specific to AspectJ and Hyper/J. Transformation rules from a general model that is an instance of the general meta-model to the instance of one of the specific meta-model are also proposed. We illustrate this approach with the GoF Strategy pattern.","PeriodicalId":201701,"journal":{"name":"Obj. Logiciel Base données Réseaux","volume":"71 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Obj. Logiciel Base données Réseaux","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3166/objet.11.1-2.127-142","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
The use of the aspect-oriented concepts and mechanisms can improve the object-oriented design patterns implementation. However a certain lack of consensus on the basic aspect-oriented concepts and relations and the diversity of the suggested programming languages related to the Aspect approach, make it uneasy to express new pattern structures in a way that is not dependent from a specific programming language. We propose to avoid this difficulty by relying on a general meta-model for the aspect-oriented modeling that we worked out by identifying the common concepts and relations of both AspectJ and Hyper/J, two of the principal today aspect-oriented programming languages. This paper introduces this meta-model along with two meta-models that are respectively specific to AspectJ and Hyper/J. Transformation rules from a general model that is an instance of the general meta-model to the instance of one of the specific meta-model are also proposed. We illustrate this approach with the GoF Strategy pattern.