Re: XMI UML MOF JMI MDR

Martin Matula <[email protected]> Mon, 12 May 2003 10:56:29 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi,
please see my comments below:

lqn wrote:
> Must I use an XMI reader to access the UML Model and manipulate it with the
> MOF or JMI API ?

You have to use an XMI reader to read the UML model into the repository. 
Then you can access it using JMI API. So I guess the answer to your 
question is "yes".

> Are these elements provided with the MDR project, or the
> UML2MOF subproject ? 

XMI reader/writer, MOF and JMI API implementation is provided by the MDR 
project. UML2MOF tool is just a tool for transforming UML models into 
MOF. You can look at the source code of this tool to find out how to 
transform UML models to something else.

> Are there any examples available somewhere ? 

See the UML2MOF tool, or the XML Sample module 
http://mdr.netbeans.org/mdrxml.html.

> As far as I understand, JMI and MOF just define the interfaces. Where can I get
> implementation libraries ?

The MDR itself is the implementation of MOF and JMI.
Regards,
Martin