December 2008
Intermediate to advanced
744 pages
18h 13m
English
Arguably, the most valuable feature of EMF is its ability to generate high-quality implementation code. As a carefully written and well-tested base for application development, generated EMF code both speeds the development process and helps improve software quality. This model code includes type-safe interfaces and efficient implementations for creating, modifying, saving, and loading instances of modeled classes.
This chapter explores the various patterns EMF uses in generating Java code from the elements of a model. We discuss how modeling decisions affect the generated code, and give insights into how to design a model most effectively. To illustrate the code generation patterns, we will begin by drawing ...
Read now
Unlock full access