Home » Archives

Content tagged with: code generation

[12 Dec 2012 | Comments Off on Integrating Models And Code | ]

In this article, Juha-Pekka Tolvanen discusses the challenges of combining models with code. He recommends not to include in the models exactly the same things than in the code too. Maintaining the same thing in these places obviously lead to trouble. Domain-specific languages (DSL) provide a solution, because they allow to model the problem but can also generate full code. The article presents domain-specific languages. His final recommendation is to “build each part of your application in the technology, language and tools best suited to that part, with lightweight integration …

[26 Jan 2012 | Comments Off on UML to Java Generation Traceability | ]

This blog post presents some improvements of the existing features of Acceleo. Acceleo is a pragmatic implementation of the Object Management Group (OMG) MOF Model to Text Language (MTL) standard. You do not need to be an expert to start using the plug-ins and create your first code generator. One of the improvement is the traceability for each line of code of which part of the generation template generated it, and which model element triggered its generation. This feature is intensively used in the UML to Java generator, an …

[3 Jan 2012 | Comments Off on Full Code Generation with Domain-Specific Modeling | ]

This article discusses the usage of Domain-Specific Modeling to achieve full code generation. As Domain-Specific Modeling raises the level of abstraction with a specification that uses domain concepts, it is then possible to automate code generation, because both the language and generators need fit the requirements of only one company and problem domain. This article describes how Domain-Specific Modeling (DSM) can be used to achieve full code generation and compares it with UML and MDA.

[17 Nov 2011 | Comments Off on SOLoist Java Web Framework for Model-driven Development | ]

SOLoist is a Java-based development framework for
* model-driven development (MDD) based on UML,
* rapid prototyping and rapid application development,
* execution of web-based object-oriented information systems (OOIS), such as business and other kinds of database applications, based on high-level, executable UML models.

[15 Nov 2011 | Comments Off on Improving Java Development with Modelio and UML | ]

This tutorial walks through typical Java modeling use cases and describe how Modelio, an open source modeling environment, can be used to to support a balanced and efficient model/code development approach and ensure the long-term utility of the UML model for Java developers. It demonstrates Modelio’s ability to automatically maintain consistency between the code and the model, so that any changes made to the code will automatically update the model and vice-versa.

[13 Oct 2011 | Comments Off on UML Modeling and Code Generation in Visual Studio 2010 | ]

Visual Studio 2010 Ultimate Edition includes a fully-featured UML (Unified Modeling Language) support, integrated into the IDE. This article on custom UML profiles – an extensibility mechanism that can be used to tailor UML models to a particular problem domain. Readers will see an example of such a profile, which extends UML Class Diagrams for database modeling. Finally, the article shows how code can be generated from UML models using T4 text templates.

[14 Sep 2011 | Comments Off on Is Code Generated from UML Useful? | ]

This blog post explains that generating code from UML can be very useful, although the usefulness of the result depends on what type of UML diagrams you use. For structural models, the autor prefers UML class diagrams as he thinks feel that they convey information in a much better way than pure textual DSLs.

[9 May 2010 | Comments Off on RGen: Ruby Modelling and Code Generation Framework | ]

This article presents the RGen framework which supports modelling and code generation for Ruby. “Modelling” is used in the sense of MDA/MDD : Models are instances of metamodels which in turn are Domain Specific Languages (DSL). Model transformations are used to convert models into instances of different metamodels and code generation is a special kind of transformation that converts a model to textual output.