Right-click the global application and select New Project. Select Projects from the left pane, then select Web Project from the right pane. Provide a project name for example, OBIEEBroker. Click Next until you reach the Web Project Profile page. Modify th

5-6 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition

a. In the Projects window, right-click the Model project and choose New.

b. Select Deployment Profiles under General in the left pane, then choose

Business Components Archive in the right pane and click OK. c. Provide a name for the deployment profile for example, MyApplication_ Archive and click OK.

d. On the Deployment page, click OK.

5. In the Projects window, right-click the Model project and select Deploy your_

deployment_profile_name Deploy, or use the deployment wizard by selecting Deploy to File . After the project has been deployed, two jar files are created in the deploy directory for the Model project for example, MyApplication_Archive_ Common.jar and MyApplication_Archive_MiddleTier.jar. 6. Create a new Web Project for the application, as follows:

a. Right-click the global application and select New Project.

b. Select Projects from the left pane, then select Web Project from the right pane.

c. Provide a project name for example, OBIEEBroker.

d. Click Next until you reach the Web Project Profile page.

e. Modify the Java EE Context Root to a name that better represents your

application for example, MyApplication. This value determines the URL that you use to connect to the application from Oracle Business Intelligence for example, http:localhost:7001MyApplicationobieebroker. 7. Edit the Profile Dependencies of the WAR deployment, as follows:

a. Right-click the Web Project you just created for example, OBIEEBroker and

select Project Properties. b. From the left pane, select Deployment. Then, open the WAR File deployment profile on the right pane.

c. Select Profile Dependencies from the left pane. Then, on the right pane, select

the Common and MiddleTier deployment profiles of your Model project. Following this step ensures that the Business Component Archives for the Model project are included in the WAR file. 8. Expand the Web Project and open web.xml. Then, go to the source view of the file. 9. In the web.xml source, replace the content within the web-app element with the following: filter filter-nameServletADFFilterfilter-name filter-classoracle.adf.share.http.ServletADFFilterfilter-class filter filter-mapping filter-nameServletADFFilterfilter-name servlet-nameOBIEEBrokerservlet-name dispatcherFORWARDdispatcher dispatcherREQUESTdispatcher filter-mapping servlet servlet-nameOBIEEBrokerservlet-name Working with ADF Business Component Data Sources 5-7 servlet-classoracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker servlet-class servlet servlet-mapping servlet-nameOBIEEBrokerservlet-name url-patternobieebrokerurl-pattern servlet-mapping Following this step ensures that the OBIEEBroker servlet will be used to access your application from Oracle Business Intelligence. 10. Create an EAR deployment profile for the application, as follows:

a. Right-click the global application and select Application Properties.