Wednesday, April 29, 2009

XMI, UML, EMF


I was trying to figure out the relationship between XMI, UML, EMF and Enterprise Architect (EA) XMI export. How was it possible that Eclipse was unable to read an EA UML XMI export. Now I know. EMF Ecore uses XMI to store the model. EA uses XMI to store the UML. The UML XMI is something completely different than Ecore XMI. The picture made it all clearer for me. If I want Eclipse to read the UML models from EA, I need the UML2 plugin from the Eclipse Modeling Framework. XMI and UML XMI are from OMG and Ecore is from Eclipse. UML2 is an implementation of UML XMI.