• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert java codes to uml

 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rational Software Architect might help you.
Take a look at this.
 
srinivas srinivasmeenavalli
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Pie
Posts: 49793
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
M Brindamour
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another UML app of note is MagicDraw UML. http://www.magicdraw.com/
 
Campbell Ritchie
Sheriff
Pie
Posts: 49793
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to JavaRanch. M Brindamour
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dimitar Misev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The NetBeans UML plugin works great, highly recommended
 
Campbell Ritchie
Sheriff
Pie
Posts: 49793
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We obviously all have our favourites, and Dimitar Misev, welcome to JavaRanch
 
Kumaravel Somasundaram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also try JarNavigator tool to create UML class diagrams from Java classes.
www.jarnavigator.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic