A Metadata Handling API for Framework Development: a Comparative Study

被引:3
|
作者
Guerra, Eduardo [1 ]
Lima, Phyllipe [2 ]
Choma, Joelma [3 ]
Nardes, Marco [3 ]
Silva, Tiago [4 ]
Lanza, Michele [5 ]
Meirelles, Paulo [6 ]
机构
[1] Free Univ Bozen Bolzano, Fac Comp Sci, Bolzano, Italy
[2] Natl Inst Telecommun INATEL, Santa Rita Do Sapucai, Brazil
[3] Natl Inst Space Res INPE, Sao Jose Dos Campos, Brazil
[4] Univ Fed Sao Paulo, Dept Comp Sci, Sao Jose Dos Campos, Brazil
[5] Univ Lugano, Fac Informat, Lugano, Switzerland
[6] Univ Fed Sao Paulo, Sao Paulo Sch Med, Sao Paulo, Brazil
来源
34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020 | 2020年
基金
巴西圣保罗研究基金会;
关键词
Framework; Metadata; Meta-Framework; Annotations; Code Metrics; Exploratory Experiment; !text type='Java']Java[!/text; METRICS SUITE;
D O I
10.1145/3422392.3422428
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Frameworks play an essential role in software development, providing not only code reuse, but also design reuse. Several Java frameworks and APIs such as Spring, JPA, and CDI rely on the use of metadata, mainly defined by code annotations. These frameworks usually use the Java Reflection API to consume code annotations, which only returns the annotations in a given code element. This strategy, however, is far from the needs of a real framework. The goal of this paper is to propose a novel API, named Esfinge Metadata, to assist in the development of frameworks based on metadata and applications based on custom annotations. Being based on annotations itself, this new API uses them to map metadata to class members. We carried out an experiment to evaluate our API and its impact on aspects such as code structure, complexity, and coupling, while also performing a comparison with the direct use of the Java Reflection API. The participants implemented a metadata-based framework based on realistic requirements in a sequence of 10 tasks that took an average of nine hours. As a result, participants that used our API maintained a more stable code evolution, regarding complexity and coupling as opposed to participants using the Java Reflection API, where the code metrics evolution and structure vary greatly.
引用
收藏
页码:499 / 508
页数:10
相关论文
共 50 条
  • [41] Exploring Metadata Catalogs in Health Care Data Ecosystems: Taxonomy Development Study
    Scheider, Simon
    Mallick, Mostafa Kamal
    JMIR FORMATIVE RESEARCH, 2025, 9
  • [42] A metadata reporting framework (FRAMES) for synthesis of ecohydrological observations
    Christianson, Danielle S.
    Varadharajan, Charuleka
    Christoffersen, Bradley
    Detto, Matteo
    Faybishenko, Boris
    Gimenez, Bruno O.
    Hendrix, Val
    Jardine, Kolby J.
    Negron-Juarez, Robinson
    Pastorello, Gilberto Z.
    Powell, Thomas L.
    Sandesh, Megha
    Warren, Jeffrey M.
    Wolfe, Brett T.
    Chambers, Jeffrey Q.
    Kueppers, Lara M.
    McDowell, Nathan G.
    Agarwal, Deborah A.
    ECOLOGICAL INFORMATICS, 2017, 42 : 148 - 158
  • [43] Scene-based Metadata Generation and Open API Provisioning Method for Smart Broadcast Service
    Kim, Seung-Hee
    Jung, Deokkyu
    Lee, Sang-Yun
    Kim, Sun-Joong
    2018 20TH INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION TECHNOLOGY (ICACT), 2018, : 664 - 668
  • [44] Metadata Driven Data Mapper Development
    Yu, QianCheng
    INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY II, PTS 1-4, 2013, 411-414 : 403 - 407
  • [45] Integrating metadata into deep autoencoder for handling prediction task of collaborative recommender system
    Gopal Behara
    V. Ramanjaneyulu Yannam
    Anand Nayyar
    Dilip Kumar Bagal
    Multimedia Tools and Applications, 2024, 83 : 42125 - 42147
  • [46] Integrating metadata into deep autoencoder for handling prediction task of collaborative recommender system
    Behara, Gopal
    Yannam, V. Ramanjaneyulu
    Nayyar, Anand
    Bagal, Dilip Kumar
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (14) : 42125 - 42147
  • [47] Metadata of Dashboard Data Source Based on Study of Pentaho Dashboard Metadata
    Lumbantoruan, Rosni
    Siregar, Agnes Juliana
    Matondang, Erikson
    Gultom, Marisa Helen
    INTERNETWORKING INDONESIA, 2016, 8 (01): : 95 - 100
  • [48] Metadata integration framework for managing forest heterogeneous information resources
    Nguyen, TB
    Ibrahim, MT
    15TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2004, : 586 - 591
  • [49] Enhancing Traceability in Clinical Research Data through a Metadata Framework
    Hume, Samuel
    Sarnikar, Surendra
    Noteboom, Cherie
    METHODS OF INFORMATION IN MEDICINE, 2020, 59 (02/03) : 75 - 85
  • [50] A logic-based framework for collection/item metadata relationships
    Wickett, Karen
    JOURNAL OF DOCUMENTATION, 2018, 74 (06) : 1175 - 1189