Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Should UML model be saved as EMF annotations in the java code ?
Should UML model be saved as EMF annotations in the java code ? [message #682867] Sun, 12 June 2011 10:01
Vlad Varnica is currently offline 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

Previous Topic:Should we immediately create inheritances at modeling stage ?
Next Topic:Can UML be agile if the code is not uploaded into the model ?
Goto Forum:
  


Current Time: Fri Oct 31 04:06:50 GMT 2014

Powered by FUDForum. Page generated in 0.05015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software