Solved

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

Posted on 2009-05-13
3
2,090 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoresSpecial  challenge 13 42
Fibonacci challenge 11 84
countHi2 challenge 7 44
maven java path setting 5 50
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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:

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now