Using AppXray Dependencies

AppXRay is a central feature of Oracle Enterprise Pack for Eclipse designed for dependency tracking, validation, and visualization. AppXRay analyzes your project artifacts in order to understand their interdependencies and then uses this information to drive many of the core OEPE features such as code completion and validation in your source files, variable information in the Palette, data binding in the Property sheet, and much more. AppXRay also enables you to visualize the dependency relationships within a project.

To use and analyze AppXray results:

  1. In the Project Explorer right-click the login.jspx node and select Show AppXray Dependencies, as shown in Figure: Show AppXray Dependencies.

    Show AppXray Dependencies

    Show AppXray Dependencies
  2. AppXaminer opens in the Editor displaying the relationship the login page has with other components, as shown in Figure: AppXaminer. The numeric values indicate the number of references a component has with another.

    AppXaminer

    AppXaminer

    For instance the login.jspx page has 2 references with loginBean (username and password), 4 references with the application.properties and so on.

  3. You can expand another level, as shown in Figure: AppXaminer.

    AppXaminer

    AppXaminer
  4. And keep going on expanding the nodes.

  5. Right-click in a node to view details, as shown in Figure: AppXaminer. Right-click the loginBean node and select Show Reference Detail from context, which invokes a popup window displaying the detailed components involved.

    AppXaminer

    AppXaminer
  6. You can repeat the operation on each component.

  7. Right-click the application.properties node and select Open, as shown in Figure: AppXaminer.

    AppXaminer

    AppXaminer
  8. The application.properties file opens in the editor, as shown in Figure: application.properties File.

    application.properties File

    application.properties File

    You can open all components of your application navigating through the AppXaminer diagram.

  9. In Project Explorer, double-click the WebContent | WEB-INF | faces-config.xml to open the file in the editor, as shown in Figure: Faces Configuration Overview.

    Faces Configuration Overview

    Faces Configuration Overview
  10. Click the Overview tab to visualize the application environment.

  11. Click the Navigation Rule tab for a graphical presentation of pages and navigation cases, as shown in Figure: Graphical Presentation.

    Graphical Presentation

    Graphical Presentation
  12. Click the Managed Bean tab for reviewing the defined managed bean, as shown in Figure: Managed Bean Tab.

    Managed Bean Tab

    Managed Bean Tab
  13. Review the other tabs, as shown in Figure: Faces Configuration Tabs.

    Faces Configuration Tabs

    Faces Configuration Tabs