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
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
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 ).
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.
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.