Eclipse Modeling Framework and plain OSGi the easy way
summary
Gecko EMF lets EMF run on any OSGi framework (no Equinox extension registry) by exposing ResourceSetFactory and resource sets as prototype OSGi services, using whiteboard services for EPackage and ResourceFactory registration, and a configurable isolated registry that filters models per tenant. Code generation injects BND-friendly components via a genmodel JET extension so bundles auto-register packages and factories at runtime. It already serializes via EMF XMI/EMF JSON, plugs into JAX‑RS and MongoDB, handles dynamic model add/remove, and is available on GitLab.
AI-written summary · about
chapters (16)
- 0:00Introduction to EMF and OSGi
- 1:08Overview of EMF registries
- 2:00EMF in non-OSGi environments
- 3:19Model registration techniques
- 4:39EMF in the Eclipse IDE
- 5:32OSGi dependencies and Equinox
- 8:05Introduction to Gecko EMF
- 9:20Gecko EMF API and tools
- 10:36Gecko EMF architecture
- 13:11Advanced features and isolation
- 16:07Code example: resource creation
- 18:33Dynamic model dependency handling
- 21:00Demonstrating model isolation
- 23:21Dynamic model configuration
- 26:12EMF integration with JAX-RS
- 29:48Q&A and project details
