Re: Developing a serlvet to transform UML XMI to MOF XMI

Martin Matula <[email protected]> Wed, 05 Mar 2003 21:24:38 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi Nick,
it is great that you are willing to help with this.
First I would recommend you to check out MDR sources from the CVS and 
follow the building instructions for UML2MOF tool to successfully build 
it. If you don't want to go through the whole build process for NetBeans 
and MDR, let me know - I will send you just the jars needed to build 
UML2MOF. After you will successfuly build UML2MOF, try to add the 
servlet class into the same package as UML2MOF Main class is in. Then 
try to implement the same functionality that Main class implements but 
in the servlet. It should not be hard. Transformer class contains the 
whole logic of transformation - Main class just initializes the 
repository (loads UML metamodel into it), then loads the XMI with the 
UML model and calls Transformer class to do the transformation.
Hopefully this helps. Thanks a lot again for volunteering on this! It 
would probably take me a couple of weeks to implement it myself given my 
bandwidth...
Martin

Nick Dowler wrote:
> Hi,
>  
> I want to develop a standalone servlet that performs the transformation 
> from UML XMI to MOF XMI using the uml2mof utility developed by Martin.
>  
> If there are no objections to doing this, perhaps someone can offer a 
> starting point. If there are any particular requirements please let me know.
>  
> Many thanks,
>  
> Nick Dowler
> 
> 
> ------------------------------------------------------------------------
> 
> The information contained in this email and any attached files is confidential and intended solely for the addressee(s). The e-mail may be legally privileged or prohibited from disclosure and unauthorised use.
> 
> If you are not the named addressee you may not use, copy or disclose this information to any other person.  If you received this message in error please notify the sender immediately.
> 
> Any views or opinions presented here may be solely those of the originator and do not necessarily reflect those of the Company.