Title of article :
API2MoL: Automating the building of bridges between APIs and Model-Driven Engineering
Author/Authors :
Cلnovas Izquierdo، نويسنده , , Javier Luis and Jouault، نويسنده , , Frédéric and Cabot، نويسنده , , Jordi and Garcيa Molina، نويسنده , , Jesْs، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2012
Pages :
17
From page :
257
To page :
273
Abstract :
Context ware artefact typically makes its functionality available through a specialized Application Programming Interface (API) describing the set of services offered to client applications. In fact, building any software system usually involves managing a plethora of APIs, which complicates the development process. In Model-Driven Engineering (MDE), where models are the key elements of any software engineering activity, this API management should take place at the model level. Therefore, tools that facilitate the integration of APIs and MDE are clearly needed. ive al is to automate the implementation of API–MDE bridges for supporting both the creation of models from API objects and the generation of such API objects from models. In this sense, this paper presents the API2MoL approach, which provides a declarative rule-based language to easily write mapping definitions to link API specifications and the metamodel that represents them. These definitions are then executed to convert API objects into model elements or vice versa. The approach also allows both the metamodel and the mapping to be automatically obtained from the API specification (bootstrap process). implementing the API2MoL engine, its correctness was validated using several APIs. Since APIs are normally large, we then developed a tool to implement the bootstrap process, which was also validated. s vide a toolkit (language and bootstrap tool) for the creation of bridges between APIs and MDE. The current implementation focuses on Java APIs, although its adaptation to other statically typed object-oriented languages is straightforward. The correctness, expressiveness and completeness of the approach have been validated with the Swing, SWT and JTwitter APIs. sion L frees developers from having to manually implement the tasks of obtaining models from API objects and generating such objects from models. This helps to manage API models in MDE-based solutions.
Keywords :
Model-driven engineering , domain-specific languages , Application programming interface
Journal title :
Information and Software Technology
Serial Year :
2012
Journal title :
Information and Software Technology
Record number :
2374763
Link To Document :
بازگشت