Teneo--Integrating EMF & EclipseLink for Model-Driven Development with Persistence
Teneo’s EclipseLink/EMF integration addresses the problem of persisting EMF models in relational databases using the standard Java Persistence API (JPA). It integrates with existing EMF Runtime through its implementation of the EMF resource model for EclipseLink JPA.
Teneo supports a fully top-down model driven approach that generates EMF classes, default JPA mappings for those classes, and the database schema required to persist those classes from a single Ecore model. Ecore annotations can be used to customize the generated JPA mappings and relational schema.
Teneo also supports the meet-in-the-middle approach of mapping EMF classes to an existing relational schema. This enables the construction of model driven applications on top of existing or legacy databases. Teneo can be combined with the Dali Java Persistence Tools for meet-in-the-middle development with Dali providing intelligent mapping assistance and validation against the target relational schema.
This session will combine slides and demos to illustrate both the design time and runtime functionality of Teneo and EclipseLink.
The following topics will be addressed in detail:
- Top-down/Model-driven development
- Meet-in-the-middle mapping
- Ecore JPA Annotations
- Idioms for mapping EMF with JPA
- Orphan Management
- EclipseLink OSGI JPA
- Teneo/EclipseLink and CDO
Martin Taal is the founder and lead of the EMF Teneo project and committer on the CDO project. Martin is an independent software consultant mainly working on data-centric business web applications. The past 15 years he has worked in different roles varying from functional architect to development manager, team lead and software developer. His interests vary from technical architecture of web applications to functional ERP areas such as production planning, inventory management, parts planning and rental and leasing.
The last 9 years Martin has primarily worked on business web applications on topics such as e-procurement, product data management, content management and supplier management. Currently he is working on projects related to open source ERP and content management systems.
Shaun Smith is a Principal Product Manager for
Oracle TopLink and an active member of the Eclipse community. He's Ecosystem
Development Lead for the EclipseLink
Project and a committer on the Eclipse EMF
Teneo and Dali Java
Persistence Tools projects. He’s currently involved with the development
of persistence services for OSGi and TopLink
Grid, which integrates Oracle Coherence with Oracle TopLink to provide "JPA
on the Grid".