Interview: Database Persistence with Eclipse Teneo

Martin mt Taal

We talked to Martin Taal, founder and lead of the EMF Teneo project, about the Galileo Release Train, the new version of Teneo and typical use cases for the project.

JAXenter: Can you describe the Eclipse Teneo-Project in a few words?

Martin Taal: Teneo is a database persistency solution for model driven development (EMF) using Eclipselink or Hibernate. It supports automatic creation of model (UML, Ecore, XML Schema) to Relational Mappings and the related database schemas. Basically all XML Schema constructs are supported. The solution contains a runtime layer to support specific EMF features. EMF Objects can be stored and retrieved using advanced queries (HQL or EJB-QL). The persistence logic and mapping can be controlled using EJB3/JPA-like annotations in the model itself. Most of the EJB3/JPA mapping standard is supported.

JAXenter: Can you give a typical use case for the project?

Martin Taal: A typical usecase for Teneo is a webservice-server environment. In this environment you can combine the tremendous power of EMF’s XML-(de)-serialization functionality together with automatic persistence by Teneo. Teneo  is also great in other (web-)server side applications where a model-driven approach is followed. As long as you work with EMF models and EMF generated code you can use Teneo for automatic persistence in just a few lines of code and without manual mapping to relational stores.

JAXenter: What´s new in the Galileo Version of Teneo?

Martin Taal: The main new thing in this release is support for EclipseLink. This support is based on code contributed by Oracle and Geensys, Both Oracle and Geensys have further invested in integrating EMF Teneo-EclipseLink and make it ready for the Galileo release. In this release we have also further increased support for Hibernate specific JPA annotations. This gives even more flexibility when mapping a model to a relational schema.

JAXenter: What are the advantages of participating in the Eclipse Galileo Release Train?

Martin Taal: It gives the users of Teneo a predictable and tested execution environment for Teneo together with other technologies such as EMF and EclipseLink. It is a clear milestone to work towards and helps to professionalize the build and delivery processes of our software.

JAXenter: Which processes did you have to respect in order to be part of Galileo?

Martin Taal: To participate the first thing is to deliver timely builds with the right quality. Then there were other standards on area’s such as internationalization one should follow.

JAXenter: Where do you see the Teneo-Project in one year? How will the project evolve after Galileo?

Martin Taal: Teneo’s support for EclipseLink will likely grow based on further user demand. Teneo also delivers a component of the Eclipse EMF-CDO project, hopefully this year we can further evolve this integration to get it to a higher level. Over time we will also further increase the support for Hibernate specific JPA annotations.

Martin mt Taal
is the founder and lead of the EMF Teneo project and a committer on the EMF CDO project. He is an independent software consultant mainly working on data-centric business web applications. Martin's interests vary from technical architecture of web applications to functional ERP areas such as production planning, inventory management, parts planning and rental. In his professional career he has worked in different roles varying from functional architect to development manager, team lead and software developer. The past few 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.

Inline Feedbacks
View all comments