Jump to content


- - - - -

Best way to generate UML Diagram/Javadoc?


#1 cdietschrun   Over the Hills, Far Away CAGiversary!   1312 Posts   Joined 11.2 Years Ago  

cdietschrun

Posted 12 February 2009 - 08:21 PM

From now on in my computing 4 class, we are required to create UML diagrams of all classes we make and generate JavaDoc for all our assignments.

In my DrJava I am using, JavaDoc sometimes just goes away when you close DrJava. Making UML Diagrams are also a pain. The only way I know is to load each .java file into Netbeans 6.5 and do a bunch of work to reverse engineer the class an display the class diagram and then that sometimes dosen't show the correct class interconnectedness.

Can anyone point me at some tools? The most practical thing I could ask for is programs where I can load a series of related .javas with JavaDoc code in them and generate JavaDoc HTML and/or UML class diagrams.

Any help?
"Where there are cardboard boxes, there will always be Solid Snake." - MGS Database

#2 mtxbass1   This space for rent. CAGiversary!   11092 Posts   Joined 14.4 Years Ago  

Posted 12 February 2009 - 08:35 PM

I've used JUG or ESSModel. Both work as expected.

http://jug.sourcefor...t/contents.html
http://essmodel.sour...t/download.html

In regards to JavaDocs, why not just do it yourself? The syntax isn't all that hard to throw at the top of your methods/classes. Netbeans or Eclipse will generate the JavaDoc for you...



#3 cdietschrun   Over the Hills, Far Away CAGiversary!   1312 Posts   Joined 11.2 Years Ago  

cdietschrun

Posted 12 February 2009 - 08:37 PM

I have the JavaDoc code in my programs. When I generate it with DrJava, and then close DrJava, the generated files disappear.

I am also not creating projects in Eclipse/Netbeans, it is much to advanced for what I am doing at the moment and it seems impossible to figure out how to look at my folder of related files and have it generate the javaDoc. (Plus this HW is due tomorrow at midnight, looking for a simpler option for now).
"Where there are cardboard boxes, there will always be Solid Snake." - MGS Database

#4 mtxbass1   This space for rent. CAGiversary!   11092 Posts   Joined 14.4 Years Ago  

Posted 12 February 2009 - 08:40 PM

Just use the javadoc tool outside of the dev environment then.

http://java.sun.com/...ws/javadoc.html

1.4.2 link, but it's the same thing in 5.0...