views:

6827

answers:

9

I'm looking for a free and easy-to-use UML diagramming tool for Java. In particular I'd looking for something that would integrate with Eclipse, as most of my codebase is in Eclipse.

Any recommendations?

+2  A: 
VonC
A: 

If you want to switch to another IDE

IntelliJ 8 has UML editor built in

http://www.jetbrains.com/idea/features/newfeatures.jsp?feature=UML_Class_Diagrams

Peter
+2  A: 

ArgoUML

it'snt integrated with IDE, it's standalone. It allows a lot of diagrams and it implements the specifications of OMG and it have other interesting feature

alepuzio
Check ArgoEclipse, that brings ArgoUML functionality to Eclipse.
penyaskito
Argo is not eclipse based, although it is a good diagramming tool. It's profiling application and modeling aspects totally lack. I voted down the answer but which I could vote up the comment by penyaskito. Although argoeclipse looks like they used eclipse as a wrapper for argo java, and it caries forward the limitations just mentioned.
Ted Johnson
Amazingly and frustratingly, it lacks an 'undo' function.
Alistair
+1  A: 

I love the JUDE community edition. It supports all the UML diagrams I need, imports and exports, and I believe it finally has JDK 5. (Not certain about that last one.) It's not integrated with the IDE, but that doesn't bother me. If you want the two to mesh, use Together by Borland.

duffymo
+2  A: 

If you are looking for Eclipse-integrated UML tools, take a look at:

http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

and check those that have "Yes" on the Modeling column.

The eclipse MDT project has about 30% of the important UML diagrams implemented with full UML model underneath it. It is the answer long-term for eclipse based UML/modeling. IBM and Borlund will release their code more and more as they have full implementations completed. BTW the IBM Rational one is good stuff but not free. :(
Ted Johnson
A: 

I have previously used standalone Poseidon for UML which has a free Community Edition. I believe their licensing limits the use of that version for non-commercial work.

They also offer commercial Eclipse-integrated version as Apollo for Eclipse.

Palimondo
Last I remember, Poseidon for UML was based on ArgoUML.
Jay R.
+6  A: 

I've evaluated several Eclipse based UML tools, and the best by far, in my opinion, was the free edition of Soyatec's eUML2 (http://www.soyatec.com/euml2/).

Having said that, I should qualify that eUML2 was suitable for me, in the sense that I was looking for:

  1. Primarily clas and sequence diagram creation (which happens to be the only two diagrams type the free version of eUML2 supports).
  2. Built-in support for Java libraries (recognizes all classes in the project class path, I was never able to get Rational Software Architect to do this) and features (e.g., inner classes).
  3. Basic code generation (specifically, Java Bean getter/setters).
  4. Integration with SCMs (more on this below).

If you need more diagrams than what I needed, but are willing to put up with lack of SCM integration, you may want to look into the free version of Omondo EclipseUML (http://www.eclipsedownload.com/ - as far as I can tell, this is a fork of Soyatec's product), which supports 5-6 different diagrams types, IIRC, but will disable itself if it detects that you've turned on SCM integration on your project (which I find very annoying).

Alternative, you can pay for the full versions of either of these. They are really expensive though.

Let me know if you need more details.

Jack Leow
A: 

Take a look at http://www.objectaid.com if you just want to reverse engineer your code into UML class diagrams.

A: 

I think NetBeans had one too.

What I used to do was write my code, then create the UML from the code. Management wants UML, fine they'll get it....

PSU_Kardi