Chapter 13 Working with Java


Reverse engineering EJB components

You reverse engineer EJB components located in .JAR files using the following method (the same method applies to Class and Java directories):

Steps To reverse engineer EJB components:

  1. Select Language→Reverse Engineer Java.

    The Reverse Java dialog box is displayed.
  2. Select Archive from the Reverse list in the Selection page.
  3. Click the Add button.

    A standard Open dialog box is displayed.

    Note   Using the Remove button
    You can click the Remove button to remove a selection from the list.

  4. Select the items you want to reverse and click Open.

    The Reverse Java dialog box displays the items you selected.
  5. Click the Options tab to display the options page.
  6. Select the Reverse Engineer Deployment Descriptor check box.
  7. Click OK.

    A progress box is displayed. If the model in which you are reverse engineering already contains data, the Merge Models dialog box is displayed.

    For more information on merging models, see section Merging Models, in chapter Comparing and Merging Models in the General Features Guide .
  8. Click OK.

    The Reverse page of the Output window displays the changes that occurred during reverse and the diagram window displays the updated model.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.