Chapter 14 Working with Java
Reverse engineering JSPs
You can reverse engineer JSPs code and deployment descriptor into an OOM. The reverse engineering feature reverses the files to create JSP components and reverses the deployment descriptor inside the WAR.
You start reverse engineering JSPs from Language→Reverse Engineer Java. Select one of the following Java formats from the Selection page, and select the Reverse Engineer Deployment Descriptor check box from the Options page:
- Java directories
- Class directories
- Archive (.JAR file)
For more information on the Java formats, see section Reverse engineering Java formats in chapter Reverse engineering.
To reverse engineer JSPs:
- Select Language→Reverse Engineer Java.
The Reverse Java dialog box appears.
- Select Archive from the Reverse dropdown listbox in the Selection page.
- Click the Add button.
A standard Open dialog box appears.
- Select the items you want to reverse and click Open.
The Reverse Java dialog box displays the items you selected.
- Click the Options tab to display the options page.
- Select the Reverse Engineer Deployment Descriptor check box.
- Click OK.
A progress box appears. If the model in which you are reverse engineering already contains data, the Merge Models dialog box appears.
For more information on merging models, see section Merging Models, in chapter Comparing and Merging Models in the General Features Guide
.
- 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) 2005. Sybase Inc. All rights reserved.
|
|