HSCTechnicalWiki


view edit history print Talk subscribe
SearchWiki

Views: 550

Full site statistics

Authors:

edit SideBar

Main » XMI Export-Import Rational Vs Jude

PageList

Papers

Tutorials

HSC welcomes all external visitors to this site, especially students and members of the academic community. Please use the comments box at the bottom of each page to record any comments or suggestions for improvement.

Using Jude Professional to work on UML Models created by Rational Rose

1.1 Scope:

This white paper highlights the challenges of working on a UML model in Jude Professional which was originally created in Rational Rose.

1.2 Tools Version:

-Rational Rose 2003 Enterprise Edition with XMI Add-in 1.3.6 from IBM -Jude Professional 2.5.1

1.3 Approach:

-Created a sample UML model in rational rose with use case, class and sequence diagram -Export the entire model in XMI 1.1 -Import the XMI model in Jude professional

1.4 Analysis:

Use Case in Rose Model:

Use Case in Jude after importing Rose generated XMI file:

Class Diagram in Rose:

Class Diagram in Jude after importing Rose generated XMI file:

Sequence Diagram in Rose:

Jude was unable to recognize Sequence Diagram after importing Rose generated XMI file:

1.4.1 Information lost while Importing/Exporting XMI file from/to Rational Rose 2002/2003:

As per the information available on Jude site, following model elements cannot be migrated due to restrictions of Rational Rose

  • Stereotype of Use Case
  • Dependency between Use Cases Include Association
  • Extend Association
  • Extension Point Association
  • Dependency and Realization (except those for Classes and Use Cases) /Node Instance
  • Component Instance
  • Object
  • Link
  • Constraint
  • Text
  • Rectangle
  • Line
  • Pasted Image

1.4.1.1 Class diagrams:

  • It is possible to read, but not to write, the line vertices for associations.
  • It is not even possible to read the line vertices for other types of lines, such as inheritance and dependency arrows. As a result, the graphical layout of lines is lost.
  • Free-floating text items are used for both class decorations, such as

method or attribute names and association role names, and for user-entered text data. Since the XMI export cannot distinguish whether a free-floating text item is part of a class or is user-entered, these are discarded on export.

  • Much of this information on dependency and realization relations is retained in the Rose model. These can not be exported as XMI hence cannot be rendered graphically while import

1.4.1.2 Sequence diagrams:

  • There is no way to read or write object lifetime information.
  • We tried with the simple sequence diagram in Rose but after importing XMI file Jude unable to recognize the Sequence diagram.

1.4.1.3 Activity diagrams:

  • Importing XMI file prevents proper rendering of Object Flow states.

1.4.2 Information lost while Importing/Exporting XMI file from/to Jude:

  • Exported XMI file from Rational Rose 2003 using XMI Add-in 1.3.6 format (model and diagram information) is partially supported by Jude
  • Due to specifications difference between Jude and rational Rose :
  • Overlapping orders in the diagram are lost.
  • Color of the diagrams lost.

1.5 Summary:

There is always loss of metadata in the process of XMI file import and export using Rational Rose and Jude. Developer would need to put great effort in rework to change class diagram, sequence diagram (need to make entirely new), activity diagram etc. which is a difficult and time consuming task. As per our analysis there is a considerable amount of information lost during XMI import/export, hence we dont recommend using Jude to work on UML models originally created by rational rose.

Some of the other points we need to take care if we use Jude instead of rational rose. Need Reverse engineering to build classes To make fresh Class Diagrams, Sequence Diagrams, State Diagrams etc. ULD need to update as per the new diagrams Need more time to complete all these process Reduced cost of Rational Rose License

1.6 Main features provided by the Jude Professional:

-Merging Jude Projects -XMI1.1 Import/Export (this support is for UML 1.4) -Export as RTF document -Export as HTML document (diagram added) Looks similar to Javadoc Frame -Use Case Description Template -Reverse Engineering -Java skeleton code generation -Partial support of C++

1.7 Bibliography:

http://www-1.ibm.com/support/docview.wss?uid=swg21130362 http://jude.change-vision.com/jude-web/product/professional.html#xml

Categories: Software

Maintainer: Manoj Prasad Gupta

Comments

Add Comment 
Email address(will be kept hidden) 
Enter code:

Page last modified on October 07, 2009, at 06:57 AM