views:

34743

answers:

10

Are there eclipse plugins that you can recommend for generating diagrams (UML, sequence) from Java code?

+1  A: 

IBM Rational Systems Developer has this feature built-in. You can do C++ to UML or java to UML transformation..

Prakash
+5  A: 
Prakash
This is a very difficult tool to install. I tried for about half an hour with no success. Any other suggestions?
Jonathan
Use Yoxos to manage dependencies in Eclipse , its really nice !http://eclipsesource.com/en/yoxos/yoxos-ondemand/
Khangharoth
Cant find eUML2 is my Update Managaer and I dont want to pack a new Eclipse setup just fr this feature. I'm using Eclipse "Helios" and go this way: Help - Install new Software - Helios http://download.eclipse.org/releases/helios - Modeling
OneWorld
+2  A: 

Something very simillar has been asked before.

By far the best tool I have used for reverse engineering, and round tripping java -> UML is Borland's Together. It is based on Eclipse (not just a single plugin) and really works well.

serg10
+1  A: 

I would recommend EclipseUML from Omondo for general usage, although I did experience some problems a few months back, with my web projects. They had a free edition at one point in time, but that is supposedly no longer promoted.

If you are really keen on reverse engineering sequence diagrams from source code, I would recommend jTracert.

As far as Eclipse projects themselves are concerned, the Eclipse UML2 Tools project might support reverse engineering, although I've have never seen its use in practice.

The MoDisco (Model Discovery) project Eclipse GMT project seems to be clearer in achieving your objective. The list of technology specific tools would be a good place to start with.

Vineet Reynolds
Have not found that reverse engineering feature in UML2 Tools ;(
OneWorld
A: 

jTracert should suit your requirements. It's pretty simple to use and absolutelly free.

You can download it here: http://jtracert.googlecode.com/

+2  A: 

You could also give the netbeans UML modeller a try. I have used it to generate javacode that I used in my eclipse projects. You can even import eclipse projects in netbeans and keep the eclipse settings synced with the netbeans project settings.

I tried several UML modellers for eclipse and wasn't satisfied with them. They were either unstable, complicated or just plain ugly. ;-)

Patrick Cornelissen
Just wanted to mention that I've also used Netbeans UML modeller and didn't bump into problems in my relatively simple cases. The UI is not too intuitive, but it's totally ok. The modeller also has some advanced features such as creating JPA entity code out of model if I remember correctly.
Tuukka Mustonen
+2  A: 

See http://www.reversejava.com for a dynamic reverse engineering application which generates UML Sequence diagram and view of Participating Class diagram from any Java Application at runtime All you have to do is just run your application and sit back. Reverse Java runs in background tracing all the activities happening inside your application and creates UML diagram for you.

You also have options for, excluding packages,editing the Sequence diagram and exporting the diagrams as PDF or Image.

Rajesh Jadhav
A: 

hello, here you have several: http://case-tools.org/tags/eclipse.html

regards,

alud
A: 

How about PlantUML? It's not for reverse engineering!!! It's for engineering before you code.

Zamel
A: 

i'd like to know how to create an UML diagrams automatically from Java project with a free tools?

ilyes