Write a Blog >>
GPCE 2016
Mon 31 October - Tue 1 November 2016 Amsterdam, Netherlands
co-located with SPLASH 2016
Mon 31 Oct 2016 11:30 - 12:00 at Zürich 1 - Generative Programming I Chair(s): Shigeru Chiba

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

gpce-2016-papers
10:30 - 12:10: GPCE - Generative Programming I at Zürich 1
Chair(s): Shigeru Chiba
gpce-2016-papers147790620000010:30 - 11:00
Talk
Pre-print Media Attached File Attached
gpce-2016-papers147790800000011:00 - 11:30
Talk
gpce-2016-papers147790980000011:30 - 12:00
Talk