Generating Aspect Code from Models
نویسندگان
چکیده
Synthesis of source code from models typically proceeds as a direct mapping from each modeling element to the generation of a set of intentionally equivalent source code statements. When a library of components is available, the model interpreter can leverage a larger granularity of reuse by generating configurations of the available components. However, it is difficult to synthesize certain properties described in a model (e.g., those related to Quality of Service) due to the closed nature of the components, as available during generation-time. An aspect-oriented solution can provide the ability to instrument components with features that are specified in the model. This paper presents an idea, and example, for generating AspectJ code from domain-specific models.
منابع مشابه
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...
متن کامل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...
متن کامل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 devel...
متن کاملAspect-Oriented Code Generation for Integration of Aspect Orientation and Model-Driven Engineering
Software development can be improved from many perspectives by combining aspect orientation and model-driven engineering techniques. At a higher level, they can be integrated in two different ways: (1) by handling specifics of aspect orientation at modeling level and later generating object-oriented code, or (2) by transforming an aspect model directly into aspect-oriented code. The latter appr...
متن کامل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...
متن کامل