Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

691 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