answersLogoWhite

0


Best Answer
Java Call TracerYou can check the java call tracer tool on SourceForge

http://sourceforge.net/projects/javacalltracer

It is a very lightweight tool and you can control what you want to generate and see in the sequence diagram.

Together 2008 SP1 Although generating sequence diagrams from execution is cool, it is dependent upon the scenario under execution. Together offers the classic approach of reverse engineering the diagrams from Java source code. Together can generate a UML 2.0 sequence diagram (with frame blocks: e.g. alt, try, opt etc.) for any method specified in a class diagram, so you can get method level behavioral descriptions of your code. It does generate a sequence diagram log which you should check because this version of their code parser does have occasional trouble with expressions used in arguments which can prevent the sequence diagram from including all the detail. You can also tailor the generation detail to include depth of calls and whether you want to include invocations to java libraries in the diagram. MaintainJ generates sequence diagramsYou may want to check MaintainJ at http://maintainj.com .

Here is a brief description from the MaintainJ homepage:

MaintainJ, an Eclipse plug-in, generates runtime sequence and class diagrams for a given use case, helping the users to quickly understand a complex Java or J2EE application.

MaintainJ logs runtime method execution sequence to a file and uses that trace file to render sequence and class diagrams. MaintainJ Instrumentation Wizard instruments a Java/J2EE application and MaintainJ UML Editor renders sequence and class diagram from the trace file.

The following features make MaintainJ a unique and useful tool for Java developers.

a) Generated Diagrams - Runtime sequence and class diagrams for a given use case are generated on demand in a few minutes; no need to prepare and update UML diagrams.

b) Source Untouched - The application code is not changed in anyway; application is rebuilt using AspectJ compiler to capture the method execution sequence at runtime.

c) Collapsible Calls - Method calls in sequence diagram are collapsible. One can easily explore a complex sequence diagram by collapsing and expanding calls as necessary.

d) Focused Diagrams - Only application classes in specified packages are shown in diagrams. All repeat calls occurring in a loop and recursive calls are removed from sequence diagrams.

e) Runtime Diagrams - All classes shown in the diagrams are concrete runtime classes.

f) Eclipse Integration - Double clicking a call or class opens matching method or class in Eclipse.

g) Outline Views - Outline views in both diagrams make navigating a complex diagram easier.

h) Print or Export - Diagrams can be printed or exported as JPEG images.

jTracert can generate sequence diagrams from existing application runtimehttp://jtracert.googlecode.com

jTracert will allow you to generate sequence diagrams directly from your application runtime!

jTracert is implemented as a small javaagent, consisting from only one jar with no dependencies. In order to profile your application with jTracert, just add the following option to VM options: -javaagent:jTracert.jar

So your full command line will look like below: java -javaagent:jTracert.jar -jar yourApplicationJar.jar

Please note, that you're not limited to J2SE applications. Add this parameter to your J2EE App server options, and profile your J2EE application. It's also possible to profile applets, and almost all other types of java applications. This is a benefit of implementing jTracert in pure Java.

Note: as of 30 Mar 2010 jTracert has been replaced by jSonde (which is also free). See http://www.jsonde.com

Reverse Java (http://www.reversejava.com)Reverse Java is a dynamic reverse engineering application which generates UML Sequence diagram and view of Participating Class diagram for any Java Application at runtime.

Reverse java works with both any standalone Java application or a Web based J2EE application.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is there any tool to generate sequence diagram for a complex Java application?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you draw a sequence diagram for online airline reservation?

airline reservation system sequence diagram


How do you show instantiation in a UML Sequence Diagram?

google sequence diagram object constructor


Difference between dataflow diagram and sequence diagram?

The purpose of a data flow diagram is to show you how the data flows through an information system. A sequence diagram shows you information regarding how the processes work together and in what order they operate.


What is sequence diagram in uml?

There are no. of diagrams in computer science .One of these diagrams is the sequence diagram. Sequence are used to represent a software system by a series of events or transaction in the system


Where can one find sequence diagram online?

Someone looking for a sequence diagram online can find them at various websites. Microsoft is a website which has sequence diagrams. There are many other websites dedicated to sequence diagrams.


What is the difference between sequence diagram and state diagram?

State diagram represents behavior without noting the classes involved whereas sequence diagram represents behavior, by describing how classes move from state to state


Which part of the main sequence in the HR diagram contains the stars that took the longest to reach the main sequence?

The HR diagram does not reference stars on their way to the main sequence, only during or after.


What is the purpose of a robustness diagram?

It is a hybrid between Use Case and Sequence Diagram


Sequence diagram for online exam?

A sequence diagram in a Unified Modeling Language (UML) is a kind of interaction diagram that shows how processes operate with one another and in what order. It is a construct of a Message Sequence Chart. A sequence diagram shows object interactions arranged in time sequence. It depicts the objects and classes involved in the scenario and the sequence of messages exchanged between the objects needed to carry out the functionality of the scenario. Sequence diagrams typically (but not always), are associated with use case realizations in the Logical View of the system under development.


What tool best illustrates complex structure process?

a diagram


Why is there no neurton stars in the hr diagram?

Of course they are on the HR diagram. They are simply not on the main sequence.


What is the main sequence on the Hertzsprung-Russell diagram?

The main sequence on the Hertzsprung-Russell Diagram is believed to map the aging process of the most common type of star.