Ann: a domain-specific language for the effective design and validation of Java annotations

Córdoba Sánchez, Irene y Lara Jaramillo, Juan de (2016). Ann: a domain-specific language for the effective design and validation of Java annotations. "Computer Languages Systems & Structures", v. 45 ; pp. 164-190. ISSN 1477-8424. https://doi.org/10.1016/j.cl.2016.02.002.

Descripción

Título: Ann: a domain-specific language for the effective design and validation of Java annotations
Autor/es:
  • Córdoba Sánchez, Irene
  • Lara Jaramillo, Juan de
Tipo de Documento: Artículo
Título de Revista/Publicación: Computer Languages Systems & Structures
Fecha: 2016
Volumen: 45
Materias:
Palabras Clave Informales: Model driven engineering;Domain-specific languages; Code generation;Java annotations; Model finders
Escuela: E.T.S. de Ingenieros Informáticos (UPM)
Departamento: Inteligencia Artificial
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[img]
Vista Previa
PDF (Document Portable Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (559kB) | Vista Previa

Resumen

This paper describes a new modelling language for the effective design and validation of Java annotations. Since their inclusion in the 5th edition of Java, annotations have grown from a useful tool for the addition of meta-data to play a central role in many popular software projects. Usually they are not conceived in isolation, but in groups, with dependency and integrity constraints between them. However, the native support provided by Java for expressing this design is very limited. To over come its deficiencies and make explicit the rich conceptual model which lies behind a set of annotations,we propose a domain-specific modelling language.The proposal has been implemented as an Eclipse plug-in, including an editor and an integrated code generator that synthesises annotation processors. The environmental so integrates a model finder,able to detectun satisfiable constraints between different annotations, and to provide examples of correct annotation usages for validation. The language has been tested using a real set of annotations from the Java Persistence API(JPA).Within this subset we have found enough rich semantics expressible with Ann and omitted nowadays by the Java language, which shows the benefits of Ann in are levant field of application.

Proyectos asociados

TipoCódigoAcrónimoResponsableTítulo
Gobierno de EspañaSin especificarTIN2014-52129-RUniversidad Autónoma de MadridFLEXIBLE MODEL-DRIVEN ENGINEERING FOR MOBILE, OPEN, DYNAMIC DATA SYSTEMS

Más información

ID de Registro: 46325
Identificador DC: http://oa.upm.es/46325/
Identificador OAI: oai:oa.upm.es:46325
Identificador DOI: 10.1016/j.cl.2016.02.002
URL Oficial: http://www.sciencedirect.com/science/journal/14778424/45?sdc=1
Depositado por: Memoria Investigacion
Depositado el: 19 Oct 2017 10:11
Ultima Modificación: 19 Oct 2017 10:11
  • Open Access
  • Open Access
  • Sherpa-Romeo
    Compruebe si la revista anglosajona en la que ha publicado un artículo permite también su publicación en abierto.
  • Dulcinea
    Compruebe si la revista española en la que ha publicado un artículo permite también su publicación en abierto.
  • Recolecta
  • e-ciencia
  • Observatorio I+D+i UPM
  • OpenCourseWare UPM