Extensible Modeling with Managed Data in Java
Many model-driven development (MDD) tools employ specialized frameworks and modeling languages, and assume that the semantics of models is provided by some form of code generation. As a result, programming against models is cumbersome and does not integrate well with ordinary programming languages and IDEs. In this paper we present MD4J, a modeling approach for embedding metamodels directly in Java, using plain interfaces and annotations. The semantics is provided by data managers that create and manipulate models. This architecture enables two kinds of extensibility. First, the data managers can be changed or extended to obtain different base semantics of a model. This allows a kind of aspect-oriented programming. Second, the metamodels themselves can be extended with additional fields and methods to modularly enrich a modeling language. We illustrate the approach using the example of state machines, discuss the implementation, and validate the approach in two case-studies based on UML activity diagram execution and an aspect-oriented refactoring of JHotDraw.
Mon 31 Oct
|10:30 - 11:00|
Aggelos BiboudisUniversity of Athens, Pablo InostrozaCWI, Tijs van der StormCWI & University of GroningenPre-print Media Attached File Attached
|11:00 - 11:30|
|11:30 - 12:00|