maf-application.xml
, maf-feature.xml
, AMX pages, MAF Task Flows and Data Controls.This chapter includes the following sections:
Provided by OEPE, AppXray technology analyzes the MAF artifacts of your application and uses this information to provide validation and consistency checking across many layers of the application.
You can use AppXray with your MAF applications, for which it is enabled by default. AppXray builds its application database that allows it to track artifacts and populate it. MAF artifacts will be detected and added to the database. As you work with your application, AppXray will automatically maintain the application database. If this degrades performance, you can selectively disable automatic maintenance and rebuild the application database as required.
Errors detected by AppXray are displayed in the Problems view, whereas dependencies are graphically displayed in AppXaminer.
AppXray collects information about the following:
maf-application.xml
maf-feature.xml
AMX pages
MAF Task Flows
Data Controls
Resource bundles
CSS
Image files
When you use AppXray, the tool for viewing dependencies is called AppXaminer.
AppXray allows OEPE to provide refactoring support across MAF artifacts. The refactoring options allow you to rename, move, and delete the artifacts that your application uses. These refactoring options synchronize your changes with other parts of the application that are dependent on the changes.
You open AppXaminer from the context menu of a MAF artifact in the Project Explorer.
To view the dependency relationships:
AppXaminer, the UI viewer for AppXray, opens in the editor displaying the relationship the selected artifact has with other components, as shown in Figure 23-2.
Figure 23-2 The AppXaminer Window
AppXaminer allows you to immediately see the relationships between artifacts. As shown in Figure 23-2:
Numeric values indicate the number of references a component has with another.
You can expand a node to see the relationship it has with other components.
You can do the following from the context menu of AppXaminer:
Choose Show AppXray Dependencies to show the dependencies of that artifact.
Choose Show Reference Detail. This opens a popup window which displays the detailed components involved.
Choose Open to view the file in the editor.
AppXray allows OEPE to provide refactoring support across MAF artifacts, so rename, move, and delete the artifacts that your application uses.
These refactoring options synchronize your changes with other parts of the application that are dependent on the changes.
When you refactor an artifact, AppXRay displays a Rename Resource dialog, in which you can check and confirm the changes you are making. See Figure 23-3
Figure 23-3 Refactoring with AppXray