• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

convert java codes to uml

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rational Software Architect might help you.
Take a look at this.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another UML app of note is MagicDraw UML. http://www.magicdraw.com/
 
Campbell Ritchie
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
. . . and welcome to JavaRanch. M Brindamour
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The NetBeans UML plugin works great, highly recommended
 
Campbell Ritchie
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We obviously all have our favourites, and Dimitar Misev, welcome to JavaRanch
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also try JarNavigator tool to create UML class diagrams from Java classes.
www.jarnavigator.com
 
And then the flying monkeys attacked. My only defense was this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic