Should UML model be saved as EMF annotations in the java code ? [message #682867] |
Sun, 12 June 2011 10:01 |
Vlad Varnica Messages: 546 Registered: July 2009 Location: Milton Keynes - UK |
Senior Member |
|
|
There is today a dilema on how to save UML model information when dealing with Java.
Do you think that saving UML model such as EMF annotations in the java code is a good practice ?
I think that it is a mistake to mix both java and model information in the code because:
- adding annotations is changing the original code format. The code gets dirty
- if the code is refactored then model information could be lost.
If you need more information to contribute to the current discussion you can have a look at a good documentation that I found at: http://www.vogella.de/articles/EclipseEMF/article.html
Let me know your point of view and let's talk about it !!
[Updated on: Sun, 12 June 2011 10:06] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03235 seconds