Click the File Pattern Detection tab to specify include and exclude file name

10 Using the IDE to Interact with Oracle Enterprise Repository 10-1 10 Using the IDE to Interact with Oracle Enterprise Repository This chapter describes using the various IDEs to interact with Oracle Enterprise Repository. This chapter provides an overview of the production and consumption processes, and encompasses the development environment use cases. It contains the following topics: ■ Section 10.1, Using Oracle JDeveloper ■ Section 10.2, Using Eclipse ■ Section 10.3, Using VS .NET

10.1 Using Oracle JDeveloper

The Oracle Enterprise Repository provides a flexible meta model for cataloguing all assets within the SOA ecosystem and their dependencies. It is primarily used during the plan, design, and build phase of the lifecycle as a single source of truth for service and composite application development. Oracle SOA Suite provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite enables services to be created, managed, and orchestrated into composite applications and business processes. Composites enable you to easily assemble multiple technology components into one SOA composite application. Oracle SOA Suite plugs into heterogeneous IT infrastructures and enables enterprises to incrementally adopt SOA. You can use Oracle SOA Suite with the following versions of Oracle Enterprise Repository: ■ Oracle Enterprise Repository 10.3 with Oracle WebLogic Server 10.3 ■ Oracle Enterprise Repository 11g This section describes the following use cases: ■ Section 10.1.1, Harvest Artifacts ■ Section 10.1.2, Search Oracle Enterprise Repository ■ Section 10.1.3, View Asset Details ■ Section 10.1.4, Download Artifacts ■ Section 10.1.5, Prescriptive Reuse 10-2 Oracle Fusion Middleware Integration Guide for Oracle Enterprise Repository

10.1.1 Harvest Artifacts

Oracle Enterprise Repository can harvest BPEL, WSDL, XSD, and XSLT files and file directories. After harvesting, Oracle Enterprise Repository automatically creates assets, populates asset metadata, and generates relationship links based on the information in the artifact files. The harvesting function is available from the command line, and can be integrated into Oracle JDeveloper or into the build process. You can publish or harvest a Oracle SOA Suite project to the Oracle Enterprise Repository either from the command-line or from Oracle JDeveloper, or using an Ant task. The Harvester harvests Oracle SOA Suite artifacts, including BPEL, WSDL, XSD and XSLT files and file directories, and automatically creates assets, populates asset metadata, and generates relationship links based on the information in the artifact files. To publish a SOA project from Oracle JDeveloper 11g R1, perform the following steps:

1. In Oracle JDeveloper, right-click the SOA project and select Harvest SOA

Composite Project . The Harvest SOA Project dialog is displayed.

2. Click OK. This runs an Antscript to harvest the SOA composite to Oracle

Enterprise Repository. For more information about harvesting artifacts from the JDeveloper 11g R2 version, see Section 9.1.1, Integrating with Oracle JDeveloper 11g R1 Patchset Releases . For more information about harvesting artifacts from the JDeveloper 10g version, see Section 9.1.3, Integrating with Oracle JDeveloper 10g .

10.1.2 Search Oracle Enterprise Repository

You can access the assets and artifacts available in the Oracle Enterprise Repository through Oracle JDeveloper. Through Oracle JDeveloper, you can search for assets matching various criteria or view assets that may be of interest to a development project. To search for assets in Oracle Enterprise Repository, perform the following steps:

1. In Oracle JDeveloper, click Resource Palette. The Resource Palette tab with the

IDE Connections is displayed. 2. In the Search text field, enter the search criteria, for example, the name of the asset that you want to view the details for, and click Start Search. The Search Results pane is displayed with the assets.

10.1.3 View Asset Details

For selected assets, you can view asset details such as description, usage history, expected savings, and relationships. Within the asset metadata, links to the supporting documentation, user guides, test cases are provided to better enable you to reuse the existing functionality. Note: The Harvester is not restricted to Oracle products, it is used to harvest standards-based artifacts generated from any tooling.