Pramati Technologies Home

Using Rose Import Tool in Pramati Studio

Overview

The Rose Import Tool imports an XMI file created using Rational Rose 2000 Enterprise Edition XMI Add-In kit, and creates a desk for it. It is used to generate sources only for the model created in Rational Rose. For details on how to convert Rose Model into an XMI file, visit http://www-140.ibm.com/developerworks/rational.

Features of Rose Import Tool

The features of Rose Import Tool are:

Configuring Rose Import Tool in Studio

To configure Rose Import Tool:

  1. Select Tools>Configure from the main menu and click Import Tool.
  2. Open roseimporttoolkit.jar from the lib/pramati directory of the Pramati Studio installation directory to add the selected tool to the list and close the panel.

Using Rose Import Tool

To import an XMI of Rational Rose Model using Rose Import Tool:

  1. Select Tools>Rose XMI Import.
  2. Enter the XMI filename in the dialog.
  3. Select the filename and click Import. A dialog asking to create a new desk, appears. Type a desk name, select the appropriate template, and click OK. This parses the XMI file, shows the model packages and the desk modules asking you to map the packages to appropriate desk modules.
  4. Select Compile and Build All Classes option to compile the generated sources. This is optional.

To undo the mapping, click << button which is enabled when a leaf node is selected.

A new module can also be added by clicking `Add Module' which is enabled when a root node is selected.

Generating sources

Click Generate Source to generate a source and add it to the appropriate desk modules. It identifies the beans and shows a CreateBeanProperties dialog to the user to confirm creation of bean properties.

After the XMI file is successfully imported, the desk view appears .

Note: You should enter the details of bean properties and deployment properties to deploy the beans successfully in Pramati Server

Pramati Technologies  © Copyright

 Home