Friday, December 21, 2012

Building a Simple Oracle ADF page using Oracle BAM Data Control

This blog will explain how to Build a Simple Oracle ADF page using Oracle BAM Data Control

The Oracle BAM reports can be built through BAM Active Studio or through BAM data control in Oracle ADF page.
In this blog I will be explaining about the steps required to build a simple ADF page using BAM data control.

Creating the BAM Connection:
  • Open the JDeveloper
  • Create new BAM Connection

  • Enter the BAM Server details as shown below. 

  • Click on Finish and Test the connection
  • Create the data object in BAM through Architect view (I am using the existing data object Employee)

  • Create a new Generic Application


  • Enter the Application name as BAMReport and click on Next
  • Enter the Project name as BAMReport and Select ADF Faces from the list 

  •  Click on Finish
  • Right click the project and create new JSF page

  • Enter the file name as BAMReport and click on OK


Creating the BAM Data Control:
  • Locate the BAM data object based on which the report needs to be created from the BAM server connection panel.

  •  Right click the data object (Employee) and click on Create Data Control.

  • Enter the configuration details as shown below (Change the details according to your requirement)

  • Click on Finish, the data control created can be looked from the Data Control panel.

  • Drag and drop the data Control (Query) to the BAMReport.jspx page and Select Table, ADF Read Only Table. 

  • Remove the id column from the report

  • Click on OK



  • Login to the BAM architect and add the new record to the Employee data object, the same will be displayed in the page automatically without refreshing the page as shown below.





Contact Form

Name

Email *

Message *