Be the first to like this
Softeam is a France based medium sized company, with more than 20 years of experience in Model Driven Engineering (MDE) solutions, consulting, training. Moreover, is is, and since 1994, a voter in the Object Management Group, in which it takes part of the standardization of languages such as UML and SysML. Softeam also has an active participation in EU research projects such as X and Y. Moreover it currently takes part of the EU projects MODAClouds and JUNIPER which intend to simplify the development of cloud internet applications by the use of MDE approaches and tools.
The core of the MDE approach consists in having models play an important role in the development. Series of model transformations iteratively bring high abstract model to reality by semi-automatically generating more detailed and low level models that are then, in the end of the process, transformed into running code. In both the MODAClouds and JUNIPER, Softeam is involved in producing transformations that map abstract domain models of web applications into specific database tools. Such transformations are not trivial because they involve models that follow different representation paradigms. An industrial quality approach is then necessary not only for writing such transformation but for making sure that the written code is correct.
In this talk, we are going to describe our initial experience on writing and testing our transformations from abstract object oriented domain models into JPA annotated Java classes. The Java Persistence API (JPA) was designed to annotate Java classes with pieces of information that help a persistence engine to map them into relational databases. The complexity involved in such transformation lead us to develop an architecture that allowed for its easy unit testing. The main topic of this talk will therefore be this architecture and the tools that allowed us to write and test this transformation.