views:

335

answers:

6

I want a UML modelling tool, preferably as an eclipse plugin that can perform the following:

  • model UML diagrams
  • Generate stub java code from the diagrams

Edited:

The tool must be open source as I don't want to purchase it.

+1  A: 

Try Green UML or Omondo UML.

St.Shadow
+1  A: 

Omondo's EclipseUML is very good - it is commercial but has trial versions

ktaylorjohn
You need commercial version if you want to reverse existing code.Otherwise free (not trial, but totally free) version will be OK.
St.Shadow
+1  A: 

You can try:

LucaB
Can you provide a link for Eclipse Modeling so that I can install it directly via Eclipse. I am using Eclipse Ganymede. I tried searching on google for Eclipse Modeling and found the links but no one is working.
Yatendra Goel
Look there: http://www.eclipse.org/modeling/mdt/updates/
LucaB
A: 

Try ArgoUML. It is Open Source

Alfredo Palhares
I am using ArgoUML and want to switch from it.
Yatendra Goel
A: 

Try Omondo and use the 30 days license to do the job. No nag screen, no tag in your code just the UML graphical diagram is 30 days limited. Once you have created the model and if the 30 days are over you can take your model and use another tool because this is compatible with any open source tool. Omondo is good for java reverse engineering and model creation.

Ganymede link: http://www.ejb3.org/download_studio_eclipse_3.4.html

+2  A: 

Here's a similar question and my response.

More specific to your question, my recommended tool - Soyatec eUML2 is not open source, but there's a free version that's completely usable.

I'm not sure what kind of UML diagrams you'll be doing. The free edition of eUML2 only does class and sequence diagrams.

eUML2 does a great job of generating stub methods. You can define methods on classes in your class diagrams, and empty methods will be created for them. Taking it a step further, it allows you to define properties on the class, and will automatically generate getters/setters.

It is very similar to Omondo that others have suggested, but IMO, better. The two products seem to be based on the same code base, I have no idea what the history of the two projects are or why this is, one may be a fork of the other. I go into more details in my original response why I like it better than Omondo.

Jack Leow
Soyatec is a crack of Omondo used in China !! One of the guy from China took the original 2005 source code when left the company and then have only upgraded every year. It is a non sense to compare EclipseUML and eUML because eUML is EclipseUML in 2005 but certainly not EclipseUML 2010 !! It also seems that this chinese guy was the architect of the first EclipseUML build which was really very very buggy. I would only recommend to my worst enemy to use eUML :-)
Could you link me to your source of information? I've been using eUML2, and never had a problem with it. As noted in my other response, I like it more because the Free Edition supports version control (the free version of Omondo, when it existed, has version control disabled).
Jack Leow
I found [this](http://www.ejb3.org/company.html) ("...The French Java team has then created Soyatec using some source code which has been offered for free by Omondo in 2006. ...") on the Omondo website, which completely disputes what you posted. I'd be curious to see where you're getting your information.
Jack Leow
And [this](http://www.eclipsedatabase.com/) from Soyatec's site, which corroborates what's on the Omondo website.
Jack Leow