An Approach for Aspect-oriented Skeleton Code Generation from Reusable Aspect Models
نویسنده
چکیده
Model-driven code generation has been a topic of interest for researchers owing to its several benefits including the anticipated reduction in development effort and delivery time. It has taken a good deal of time to produce techniques that generate executable code in object-oriented programming languages. Aspectoriented software development techniques, though expected to enhance software development in many ways, still lack approaches that can deliver model-driven code into one of the aspect-oriented programming languages such as AspectJ. In this paper, we present an approach for generation of aspect-oriented code from Reusable Aspect Models. As first step towards the code generation, we have developed a formal and semantically equivalent text-based representation of the aspect models using XML schema notation. Further, we have proposed an approach that takes the XML representation of the aspect models to generate aspect-oriented skeleton code. Currently, our approach can be used to obtain complete aspect structure, interfaces, classes, constructors, fields and stubs of methods specified in the structural part of an aspect.
منابع مشابه
Reusable Aspect Models versus Theme/UML: the Aspect-Oriented Code Generation Perspective
The integration of aspect oriented modeling approaches with model-driven engineering process achieved through their direct transformation to aspect-oriented code is expected to enhance the software development from many perspectives. This study aims to assess the existing UML-based aspect-oriented modeling techniques from the perspective of their suitability with regards to integration into mod...
متن کاملGenerating Aspect Code from UML Models
This position paper presents a concept for aspect-oriented design and a seamless integration of AO design and implementation. We suggest a design notation based on standard UML which separates clearly the reusable programming language independent design of aspect code and base (business logic) code from the language dependant cross-cutting parts. Thus fostering reuse of aspect code and simplify...
متن کاملAn exploratory study of the suitability of UML-based aspect modeling techniques with respect to their integration into Model-Driven Engineering context
Context: The integration of aspect oriented modeling approaches with model‐driven engineering process achieved through their direct transformation to aspect‐oriented code is expected to enhance the software development from many perspectives. However, since no aspect modeling technique has been adopted as the standard while the code generation has to be fully dependent on the input model, it be...
متن کاملMapping Aspect-Oriented Models to Aspect-Oriented Code
When aspect-oriented modeling techniques are used in the context of Model-Driven Engineering, a possible way of obtaining an executable from an aspect-oriented model is to map it to code written in an aspect-oriented programming language. This paper presents important challenges that a modeler has to face when mapping aspect-oriented models to an aspect-oriented programming language: mapping st...
متن کاملModel-Driven Development of Aspect-Oriented Software Architectures
The Model-Driven Development (MDD) paradigm has become widely spread in the last few years due to being based on models instead of source code, and using automatic generation techniques to obtain the final software product. Until now, the most mature methodologies that have been proposed to develop software following MDD are mainly based on functional requirements by following the Object-Orient...
متن کامل