aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes How to generate Sequence Diagrams of java code  with Microsift Visio 2007 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "How to generate Sequence Diagrams of java code  with Microsift Visio 2007 " Watch "How to generate Sequence Diagrams of java code  with Microsift Visio 2007 " New topic
Author

How to generate Sequence Diagrams of java code with Microsift Visio 2007

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am having Microsoft Visio 2007 with me .
How is it possible to generate a sequence Diagram by submiting some java code to it ??

Please suggest , thanks .


Save India From Corruption - Anna Hazare.
Ran Pleasant
Ranch Hand

Joined: Jan 16, 2003
Posts: 75
Ravi Kiran Va wrote:I am having Microsoft Visio 2007 with me . How is it possible to generate a sequence Diagram by submiting some java code to it ??

Ravi

I also use Visio for my UML. To the best of my knowledge Visio has no such feature. However, you could use the VBA in Visio to read and parse you Java files and produce the class images in Visio. I did this in Rational Rose many years ago so that I could read in Delphi (Pascal) code so that I could produce UML. Given how much work that was, I am personally happy to just create stuff on the fly in Visio.


Ran
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2477
    
    7

Here is a list of reverse engineering articles, and languages supported by Visio's reverse engineer functionality:
http://office.microsoft.com/en-in/visio-help/CH010090256.aspx?CTT=97

Java is not in the list.


OCUP UML fundamental and ITIL foundation
youtube channel
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15661
    
  15

I tried to use Visio to generate the UML diagrams for the Struts article I published way back when. It kept trying to force me into Visual Basic and I finally gave up on the UML support and drew them by vrute force.

There are several UML tools written in Java, but I don't know if any of them can reverse-engineer sequence diagrams. My sequence diagrams are usually pretty abstract, so I do them by hand. A blow-by-blow diagram would have too much extraneous detail, and would be nearly impossible to generate in cases where multiple clients and servers are conversing. Some of them might be external "black boxes" and some might not even be in Java.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1632
    
    7

Tim Holloway wrote:I tried to use Visio to generate the UML diagrams for the Struts article I published way back when. It kept trying to force me into Visual Basic and I finally gave up on the UML support and drew them by vrute force.

There are several UML tools written in Java, but I don't know if any of them can reverse-engineer sequence diagrams. My sequence diagrams are usually pretty abstract, so I do them by hand. A blow-by-blow diagram would have too much extraneous detail, and would be nearly impossible to generate in cases where multiple clients and servers are conversing. Some of them might be external "black boxes" and some might not even be in Java.


FYI,

Actually the visual paradigm suite can do this, but I do not have personal experience with it as it is definitely not cheap. I also can not comment on how it does what it does or if it can handle the abstract cases you speak of (I have my doubts) but if you are looking for a tool that can get you started it might be worth looking into.

Visual paradigm reverse engineering sequence diagram

Thanks,

[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate Sequence Diagrams of java code with Microsift Visio 2007
 
Similar Threads
Convert WSAD dnx diagrams to Visio
Visio for creating UML
Reverse Engineering In Rational Software Architect
Visio Rant!
Generating Sequence Diagrams for all methods?