• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

UML tools?

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello:
I got a bunch of Java classes, but don't know their relationships. Is it any tool to help draw the UML ?
Thanks.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i heard...JBuilder has a refactoring tool...eclipse has a free plugin that would help you refactor..but i didn't see it giving out much..just simple relationships(inheritance and associations)...
http://www.sourceforge.net/projects/essmodel
sanjay.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rational Rose will also reverse engineer a model from code. But it's pretty ugly because it includes every last detail. Humans usually model at a more abstract level.
My usual practice is to read code with a pencil & paper handy, and diagram any relationships I see. The first diagram will have lots of nasty crossing lines and such but a quick rewrite usually fixes that. PJ Plauger used to write about grabbing a diagram by one node and shaking it until everything evens out. It's a neat metaphor for what you do in your head.
For grins, look into DOT. It's a free drawing tool. You can prepare a text input file with lines like "A uses B" and have it generate the diagram. It doesn't do UML, but it can help you visualize a ton of relationships. You might be able to GREP class references out of source code and feed DOT.
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ArgoUML is a freeware that can be used to create the UML diagrams after you go through the code.
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm also a newcomer to UML, looking for a good modeling tool.
I downloaded the free community version of Poseidon, which appears to be a well-designed, full-featured UML modeling tool (even has java code generation, if you can figure out how to use it). This tool is based on ArgoUML and written in java. It does a lot of stuff, but the documentation doesn't really cover all the ins and outs; and some details seem a little wrong. (For example, the horizontal arrows in my sequence diagrams don't always match up to the little vertical blocks extending down from the class elements like I think they should...).
The biggest problem with Poseidon is that it's slow as h**l on my (admittedly rather old and clunky) workstation, running on WinNT. When I select 3 class objects in a diagram, Poseidon freezes up for a couple minutes (running 97% of my cpu), but then eventually comes back to its right mind and forges ahead without actually crashing anything.
I came here looking for something that runs quicker, but maybe doesn't have all the fancy code-generation stuff. I just want to be able to model the UML; then I can type the code myself. 8-)
Bruce Eckels (the Thinking in Java guy) has a summary of survey results regarding everybody's favorite UML tools (with links) at http://www.mindview.net/WebLog/log-0041. I've been thinking about trying Jude next...
any other suggestions would be most gratefully appreciated!
thanks,
John Holme
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, guys!
Poseidon is not free, it has 15 days evaluation key.
John, the following link doesn't exist
http://www.mindview.net/WebLog/log-0041
Thanks again!
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try JVision..
 
reply
    Bookmark Topic Watch Topic
  • New Topic