Pramati Technologies

Using Pramati Design Viewer with Studio

Overview

Pramati Studio can be integrated with Pramati DesignViewerTM which supports visualization of all J2EE applications including Struts that are built on Model 2 Architecture. You can open a Pramati DesignViewer model archive file .pmar or the application itself from inside Studio. The supported file types for opening and exporting are:

Pramati DesignViewer provides semantically richer images and abstraction for a better and non-cluttered visualization. High fidelity between the source and the model and a high level view of J2EE applications enable indepth analysis of a project. You can use pluggable tools like Annote for project review and presentation. As DesignViewer provides a J2EE-specific representation of the application rather than an universal representation, the semantic information is not lost due to abstraction.

Advantages of using Viewer with Studio

The advantages of using Viewer with Studio are:

Tool bars

The horizontal and vertical tool bars enable quick operation for changing the view, zoom and layout options. The vertical toolbar comprises of:

The horizontal tool bar comprises of:

Installing DesignViewer and configuring in Studio

Install DesignViewer on the host machine; use JDK 1.3 or above. To start working with Viewer in Studio:

  1. Open Studio and select Tools > Configure from the main menu to open the Configure panel.
  2. Select DesignViewer Tool from the Tools list and close dialog.
  3. In the new dialog, enter the location where DesignViewer is installed.

  4. To view the details of an archive, Right click on the EJB or web module root, or on the EAR, JAR, or WAR files. Select the Show Design option. This opens the diagramatic representation for the selected file or module.

Viewing design for a file

To view details of a file or archive, open it in Studio. For example, to view the details for a JAR, open OrderBook. Right click on orderApp.jar and select Show Design.

Click Finish. It displays the following details in the DesignViewer:

Note 1: The PMAR file does not get updated when the application is modified and the model may not always show the right components in an archive. Model file is just for persisting the data temporarily and will not be in sync with the application.
Note 2: Opening a PMAR file is faster than opening an archive. Opening the application archive gives an updated view of the application than opening the model file.

Pramati Technologies  © Copyright   TOCPREVNEXTINDEX