Skip to main content



      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 06:01
Eclipse UserFriend
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 06:06] by 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: Tue Jul 08 05:24:35 EDT 2025

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

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

Back to the top