answersLogoWhite

0

  • Java Programming
  • Electrical Engineering
  • JavaScript

Is there any tool to generate sequence diagram for a complex Java application?

User Avatar

Wiki User

βˆ™ 2010-08-27 21:33:59

Best Answer
Copy
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.

2010-08-27 21:33:59
This answer is:
πŸ€“
🀯
πŸ€”
User Avatar

Your Answer

Loading...

Related Questions

What are the used in flowchart?

A flowchart is a diagram of the sequence of movements of people or things involved in a complex system of activity


How do you show instantiation in a UML Sequence Diagram?

google sequence diagram object constructor


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

airline reservation system sequence diagram


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


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


What group does tau ceti belong to in the HR-Diagram?

main sequence


Sequence diagram for online exam?

fe


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.


Sequence diagram of online students quiz system?

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.


Sequence diagram for library management system?

yes


Application of v-n diagram?

aplication of v-n diagram


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.


What are the two types of stars that do not fall into the main sequence of an h-r diagram?

On the HR diagram, any star that does not have Yerkes spectral classification of "V" is not on the main sequence.Viewing the HR diagram you will see a band called "main sequence" ranging from -5 to +10 luminosity.


Difference between Sequence diagram and state diagram?

State diagram shows the object undergoing a process. It gives a clear picture of the changes in the object's state in this process. e.g: ATM withdraw Card object state: Checking, Approving, Rejecting sequence diagrams is that sequence diagrams are good at showing sequential logic but not that good at giving you a "big picture view"


Sequence diagram for college?

college name:Kolhapur Institute of Tecnology...


Diagram for firing sequence of an 1989 Volvo 240dl?

2431


Where are most stars plotted on an HR diagram?

Main sequence


IS their any tool to generate E-R diagram by providing .sql file?

Oracle SQL Developer Data Modeler should generate and E-R diagram with an .sql file.


Where a main sequence star is located on the H R diagram depends on its temperature and its?

Where a main sequence star (or any star) is located on the Hertzsprung-Russell Diagram is based on its temperature and brightness.


Which of the following represents the highest energy point on an energy diagram?

activated complexactivated complex


How do you convert sequence diagram to collaboration diagram in staruml?

there is no way just work with your fantazy based in concrete work


The region of the Hertzsprung-Russell diagram with the most stars is the what?

The main sequence - the region across the middle of the diagram.