wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML sequence Diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML sequence Diagrams" Watch "UML sequence Diagrams" New topic
Author

UML sequence Diagrams

Ajay Xavier
Ranch Hand

Joined: Jan 03, 2005
Posts: 109
hi,
i am working for a reverse engineering project.i am having the source code with me how to create sequence diagrams from the existing source code?

i want to do it manually so that i can learn something out of it?

how to start with?

can you refer any goodbooks to start with?
bparanj
Greenhorn

Joined: May 27, 2002
Posts: 27
I would check out Rational tools to do the reverse engineering. Rational Rational Rose by Wendy and Micheal Boggs is a good book. There is a recent version : Mastering Rational XDE.

I am not sure if doing reverse engineering is a good way to learn sequence diagrams.


Moderator : <a href="http://groups.yahoo.com/group/OOAD_UML/" target="_blank" rel="nofollow">http://groups.yahoo.com/group/OOAD_UML/</a> <br />Home : <a href="http://www.zepho.com" target="_blank" rel="nofollow">http://www.zepho.com</a>
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

bparanj,

Welcome to JavaRanch!

A bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. "Handles" and joke names aren't enough. You can change your display name here. Thanks!


[Jess in Action][AskingGoodQuestions]
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I often go with pencil & paper for the first pass through difficult code. Actually I'm likely to start with the interaction version of the diagram rather than the sequence version. It just seems easier to add more objects as needed that way. I do really like sequence diagrams and wrote a macro for my text editor to format neat text-only diagrams. Rose is a fantastic tool, but I feel committed to do really refined work when I bother to fire it up, so paper comes first.

PJ Plauger wrote about picking up a diagram by one bubble and shaking it. If you pick the right node it might shake into a tree or circle or a hub and spoke or who knows what. It's useful to try different shapes for an interaction diagram and see if one reveals a hub of dependencies or function driver.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Scott Ambler
author
Ranch Hand

Joined: Dec 12, 2003
Posts: 608
I've written an overview of sequence diagramming at UML Sequence Diagrams and at Sequence Diagram Guidelines which you may find useful.

- Scott


<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UML sequence Diagrams
 
Similar Threads
Rational Rose alternatives
Class Diagram - Sequence Diagram - Patterns
sequence diagrams using RSA
Sequence diagrams
Generating Sequence Diagrams for all methods?