Solved

How to create a sequence diagram in RSA 7.0.0.8 and existing java code?

Posted on 2009-05-13
3
2,097 Views
Last Modified: 2012-05-06
How to create a sequence diagram in RSA 7.0.0.8 form existing java code?
0
Comment
Question by:umeshna
  • 2
3 Comments
 
LVL 6

Expert Comment

by:__geof__
ID: 24380403
To clarify, you are talking about reverse engineering from java code to sequence diagram?

First, good luck.

I don't think there are tools that are doing this right now text 2 model transformation is still in a very early stage but RSA creates an XML file to represent the sequence diagram so it could be possible to fake the (text to model) transformation with a text 2 text transformation. If I remember correctly, it uses EMF for representing the node in the xml representation of the diagram so you could use it to help you.

If you manage to create something that will allow that kind of transformation, you will still need to implement the logic. And I am most curious about how you thought about it. How do you map a lifeline or a message from Java? Will every method be a message? How do you filter those? etc...

I think that if you try to do it yourself, you will understand why there are few tools for MDA/MDD and even fewer for reverse engineering. But if you can make it, ...
0
 

Author Comment

by:umeshna
ID: 24438493
Yes, I did not find any easy solution and reverse engineering is not a correct solution for this.
0
 
LVL 6

Accepted Solution

by:
__geof__ earned 50 total points
ID: 24440124
The problem is to find out how you will map a program/class/method to the diagram. There are no easy solution and usually requires human action. I think that the only UML diagram you could use is a class diagram.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question