aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes convert java codes to uml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "convert java codes to uml" Watch "convert java codes to uml" New topic
Author

convert java codes to uml

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi All,

I am not sure if my question would get merit but i will give it a try.

The other day, I was given a new project to customize, it's quite huge to fully understand easily. But the problem is, there was no documentation to support the project.

My question is, can I generate a UML like diagrams given just java code? Class diagram perhaps.. I am using eclipse as an IDE.

Thanks.


Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
Rational Software Architect might help you.
Take a look at this.


Aditi
srinivas srinivasmeenavalli
Ranch Hand

Joined: Jul 13, 2008
Posts: 65
"My question is, can I generate a UML like diagrams given just java code? Class diagram perhaps.. I am using eclipse as an IDE."
You can use Enterprise Architech or Rational XDE to generate Class diagrams.Sequence diagrams can't be generated directly,Not sure about Eclipse IDE.Try to install model eclipse plugins.You may be able to generate class digram after installations. Please raise this question in Enterprise Architech's Forum.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39388
    
  28
There is a thing called Omondo which is available as a plugin to Eclipse which can create UML class diagrams.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14266
    
  21

NetBeans can do UML forward and reverse engineering. I haven't used it myself (yet) so I don't know how well it works, but it's worth a try.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
M Brindamour
Greenhorn

Joined: Jul 14, 2008
Posts: 2
Another UML app of note is MagicDraw UML. http://www.magicdraw.com/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39388
    
  28
. . . and welcome to JavaRanch. M Brindamour
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hello All,

Thanks for all the inputs that you had given. I will look at each of what you have suggested.

While googling for my query, I found this linkLink
and have tried their reverse engineering feature and it generate good UML diagrams.

The problem though is that its not free and I had just downloaded the trial version for 30 days..

But it would help a lot since I could now see how the classes are related. I will just have to check on the other plugins that you have suggested.

Kudos to all..
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

You can also try JUDE.
http://jude.change-vision.com/jude-web/index.html
The community edition is free and it can also do a reverse engineering.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Rakesh Chaudhary
Ranch Hand

Joined: Feb 19, 2008
Posts: 120
HI Use Borland Together to do it...

Its quiet fast,flexible and Open

U can generate class diagrams ,sequence diagrams,communication diagrams and activity diagrams by just getting the class diagrams...

Also it has very few Bottlenecks


Acquire the unexpected.......
Preparing for SCJP 6
Dimitar Misev
Greenhorn

Joined: Jul 18, 2008
Posts: 1
The NetBeans UML plugin works great, highly recommended
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39388
    
  28
We obviously all have our favourites, and Dimitar Misev, welcome to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: convert java codes to uml