?
Solved

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

Posted on 2009-05-13
3
Medium Priority
?
2,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

771 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