blog




  • Essay / A conceptual model for metadata-driven frameworks

    Abstract. Recent frameworks use strategy to define a specific metadata schema that applications can use in their classes and programming elements, allowing customization of the framework's behavior. Although this technique is widely used, there are no templates, design patterns, or development guidelines aimed at assisting in the creation of this type of framework. This thesis proposes a conceptual model for metadata-driven frameworks that aims to identify appropriate solutions for its internal structure and the scenarios for which it is suited. As a result, software architects and framework developers with this conceptual model should be able to identify situations in which the use of metadata is appropriate and design suitable solutions that provide flexibility in reading and processing metadata. metadata. Keywords: Framework, metadata, software architecture, software Design1. The ContextA framework is a set of classes that support reuse with greater granularity. It defines an abstract object-oriented design for a particular type of application that allows not only source code reuse, but also design reuse [Johnson & Foote, 1988]. The framework's abstract structure can be populated with classes from its own library or application-specific classes, giving the developer the flexibility to tailor its behavior to each application. Besides flexibility, a good framework also increases team productivity and facilitates application maintenance [Fayad et al. 1999].In early frameworks, application classes had to be compatible with the framework's protocol, usually by extending an abstract class or implementing an interface. Framework structures have evolved and most recent ones use introspection [Forman and Forman 2005] to access runtime...... middle of article......jcp. org/en/jsr/detail?id=299.Johnson, R. and Foote, B. (1988) “Designing reusable classes”. In: Journal of Object-Oriented Programming, v.1, n. 2, p. 22-35, June/July. Kohls, C. and Panke, S. (2009) “Is it true…? Reflections on the epistemology of models”. In Conference on Program Template Languages, 16, Chicago. Nuccitelli, R., Guerra, E. and Fernandes, C. (2010) “Parsing XML documents in Java using annotations”. In XML: Aplicações e Tecnologias Associadas, 8, Vila do Conde. Santana, E., Tanaka, S., Guerra, e., Fernandes, C. and Silveira, F. (2009) “Towards a practical approach for testing cutpoint descriptors.” With JQuati”, in Latin American Workshop on Aspect-Oriented Software Development, 3, Fortaleza.Schwarz, D. (2004) “Peeking inside the box: attribute-oriented programming with Java 1.5”, http://missingmanuals.com/ pub /a/onjava/2004/06/30/insidebox1.html.