|Re: Newbie question on round tripping [message #893602 is a reply to message #893006]
||Wed, 04 July 2012 19:13
| Andreas Graf
Registered: July 2009
here are a few thoughts:
* For the XML2UML transformation, there are several approaches: You could create an ecore out of your schema, use a XML parser etc.
* But your XML is not well suited for M2M transformation, since a lot of information seems to be contained in CDATA, which you'd need to parse (could be done with Xtext).
* As soon as you'd have a structured in memory-representation of your XML, you could use Java, QVTO, Xtend2 and a number of others for M2M transformation and just store the resulting UML resource. Currently, I'd recommend Xtend2, because you'd have the same language for M2M as for M2T transformations.
* You'd only get the UML semantic models, no diagrams etc. The diagram generation would depend on the specific tool that you use.
On a more general level, it would be important what you want to achieve. If you would like to just have a graphical programming of ABAP represented by UML or reverse engineer existing ABAPs then it might be a viable approach.
However, if you go for model driven development, I would recommend roundtripping only in very rare cases(and this might be a flamebait for the small parts of MDE community still advocating it You just can't get the benefits of increased abstraction with it.
So, depending on the intention and scope of your project, you might want to dive into MDE a little more and see where the industry is now.
[Updated on: Wed, 04 July 2012 19:15]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01835 seconds