O'Reilly logo

EMF: Eclipse Modeling Framework Second Edition by Frank Budinsky, Ed Merks, Marcelo Paternostro, Dave Steinberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Persistence

EMF includes a powerful framework for model persistence. Out of the box, it supports XML serialization via a highly customizable resource implementation. Specialized versions are also provided to support the XML Metadata Interchange (XMI) 2.0 standard, which is used as the canonical representation of Ecore, and to serialize Ecore as Essential MOF (EMOF), facilitating interoperability with various modeling tools.

However, EMF does not require that persistence be XML-based or even stream based. The framework provides an API that is flexible enough to support any kind of storage, and even to persist objects across different kinds of storage, with references among them.

In Chapter 2, we introduced the persistence framework ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required