Solved

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 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…
Suggested Courses

739 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