The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » OO, Patterns, UML and Refactoring
 
RSS feed
 
New topic
Author

tool for getting Sequence diagram for java file

Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Messages: 95

HI,

I am trying to analyze one java project , i thought it will be easier if i get sequence diagram for those files.

Can any one please suggest me the tool which will generate sequence diagram for
1.one perticular java program(java file) and also
2. for complete package

Giving up is the easiest thing in the world to do..but holding it together when everything seems like falling apart is true strength!!<br /> <br />with regards<br />Harish.T
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Messages: 8791

There are a couple tools that do that (sorry don't have links right now) by observing a running system. I think they do an AOP-like modification at class load time to log all method entry and exit points. I played with one and wasn't too thrilled with the output.

This is pretty well impossible with static source code analysis because we can't tell what implementation classes might be involved at runtime.

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
dennis zined
Ranch Hand

Joined: Mar 07, 2003
Messages: 331

Code logic is your friend. I've used it a lot in past projects and has helped tremendously. Not free, but worth the money (or you can expense it from your company ).

SCJP 1.4<br />SCWCD 1.4
Maninder D Singh
Greenhorn

Joined: Aug 19, 2007
Messages: 1

You should try MaintainJ Eclipse plugin. I used it witn one of my applications and i like it very much. very useful tool when you are starting on a new project. Check the homepage at maintainj.com.

Maninder.
aju jadhav
Greenhorn

Joined: Feb 03, 2010
Messages: 2

See http://www.reversejava.com for a dynamic reverse engineering application which generates UML Sequence diagram and view of Participating Class diagram from any Java Application at runtime
All you have to do is just run your application and sit back. Reverse Java runs in background tracing all the activities happening inside your application and creates UML diagram for you.
 
jQuery in Action
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » OO, Patterns, UML and Refactoring
 
RSS feed
 
New topic
JProfiler
Get rid of your performance problems and memory leaks!