Basically, EMF is the foundation for developing model-based development tools (MDDs).
The tools that interest you are in the Model To Text (M2T) section. Using tools like JET , you can create logical business objects, not just DTOs, in whatever language you want. You can generate code from domain languages (DSL), which you define yourself (usually in XML) or from standard modeling languages ( UML or Encore ).
When you have chosen a modeling language, there are ways to create your models using graphical tools ( GMF ). In addition, EMF has the verification / translation tools you expect.
Having tried several code generation tools, I can say that it was a useful experiment. However, this requires a significant investment, and you risk depending on one specific instrument. If you do not need a code generation tool, also think that you may have a language smell or it has not reorganized enough duplication.
source share