Oracle bi 11.1.1.6.1 and adf integration

17
PREPARED BY RAVI KUMAR LANKE Page 1 Oracle BI 11.1.1.6.1 and ADF Integration

description

Oracle bi 111161 and adf integration

Transcript of Oracle bi 11.1.1.6.1 and adf integration

Page 1: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 1

Oracle BI 11.1.1.6.1 and ADF Integration

Page 2: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 2

Embedding business intelligence objects allows you to access the Oracle BI EE Presentation Services catalog and choose Oracle BI EE objects, such as analyses and dashboards, to include in ADF pages When you add a business intelligence object to an ADF page, that page will contain a reference to the business intelligence object and does not contain a copy of the object. When the business intelligence object is modified and saved to the Oracle BI EE Presentation Services Catalog, any changes will appear in the ADF application when the user runs the form

ADF ?

MVC (Model-View-Controller) separates the application into

‣ A Model layer that handle interactions with data sources

‣ A View layer that handles the UI, and

‣ A Controller layer that handles the application flow

Oracle BI and ADF Components:

Oracle Enterprise Repository Adapter:

Provides the ability to add repository connectivity capabilities for presentation services

Business intelligence ADF view regions:

Provides the agility to browse presentation catalog through JDeveloper resource catalog and add BI objects to an ADF page

Business Intelligence Composer:

Provides easy-to-use BI composer report wizard that allows you to quickly and easily create edit or view the design of BI analyses

from ADF applications

Business Intelligence Logical SQL view objects:

Provides the ability to create a logical SQL statements access the BI serve the and fetch BI data and bind the data to native ADF

components for inclusion on an ADF page

Business Intelligence Soap Connection:

Provides the ability to create a BI Soap connection to access the presentation catalog

Prerequisites:

OBIEE 11.1.1.6

http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1525270.html

JDeveloper 11.1.1.6.0(Oracle JDeveloper 11g (11.1.1.6.0) (Build 6192)Installations)

http://www.oracle.com/technetwork/developer-tools/jdev/downloads/jdeveloper11116-1377208.html

Make sure that you have installed correct version of JDeveloper open

JDeveloper -- Help – About

Page 3: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 3

Get all the listed BI ADF components from below links and make sure you have right version of component

Business Intelligence ADF View Regions

Business Intelligence ADF Task Flow

Business Intelligence Soap Connection

Business Intelligence Logical SQL View Objects

WebCenter Customization Framework Design Time

You can get it through online using JDeveloper

Help -- Check for updates (Oracle Fusion Middle ware Products)

Page 4: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 4

Page 5: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 5

If you download it from Oracle portal you can install from download files

Page 6: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 6

Integration of OBIEE and ADF using JDeveloper :

1. Creating an BI Presentation Services component

You can create multiple presentation services components and connect to BI catalog

click on View -- Resource palette

Page 7: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 7

Create New Connection BI Presentation Server

Page 8: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 8

Create connection in Resource palette which will be available for all Roles of JDeveloper

a) Give the connection Name

b) Specify the location of the BI Presentation Services

Page 9: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 9

Leave the WSDL Context section as default and also Static Resources mode to Auto which

will take the default HOST URL of BI Presentation Services

Give the weblogic admin credentials if you don't have impersonation enabled make it false

Page 10: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 10

Test the connection :

Page 11: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 11

once the connection is established you should able to see BI Presentation Content under IDE Connections:

Page 12: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 12

Creating ADF page with BI Presentation Content :

1) Open JDeveloper and click on New Application ---> Generic Application

Page 13: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 13

2) Click OK and Next -->Project Name (Sales)-- Pproject Technologies --> BI ADF View Components -- Finish

Page 14: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 14

3) Create a JSF page by click on NEW button --> JSF

Page 15: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 15

Page 16: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 16

You can see Sales Revenue.jspx is the web page created where you can add your BI Components to view on portals now click on

project properties and check the Technology scope for BI ADF View components and click OK

Page 17: Oracle bi 11.1.1.6.1 and adf integration

PREPARED BY RAVI KUMAR LANKE Page 17

Now Drag and drop the content from your BI catalog to Sales Revenue.jspx page

Click on Source button to check the code for the same content now save the application and

Right click on the Content ---> RUN

you can see the report opened in browser with complete data (Make sure that your web logic is up and running)

The report is running now on 'http://localhost:7101/faces/Sales%20Revenue.jspx'