SlideShare a Scribd company logo
1 of 7
What is BAM?
Business Activity Monitoring is a tool that is useful in monitoring business services and processes.It actively
collects data, applies rules and reports information to users.When something goes wrong in business processes,
BAM can be configured to take corrective measures such as emailing administrators/support team.
How does BAM interface with other SOA applications?
BAM uses Data Objects to capture and store information from other sources.It uses Real Time Data Streaming to
stream data through Oracle BAM Adapter, JMS connector, ODI or web service API.
We are going to explore the features of BAM through a simple use-case as shown below:
Description: Employee information is sent to BAM Example Process (BPEL). BPEL sensors sends this information
through BAM Adapterto populate Employee Data Object in BAM. Employee Dashboard report will capture this
information and showin the form of a 3D Bar chart.
Steps to implement use-case:
1. Create Employee Data Object
2. Create BAM Report
3. Configure BAM Adapter
4. Create BPEL Sensor Activity and Sensor Action
1. Create Employee Data Object
 Open BAM console using http://<yourhost>:9001/OracleBAM
 Open BAM Architect
 Click on "Create Data Object" and enter "Employee" in the name field.
 Click on "Add Field" and add following fields: id (Auto-incrementing Integer), name (String), department
(String).
 Click on "Create Data Object" to finish creation. You can optionally create a sub-folder to hold Employee
object.
 Make sure Employee object is visible underData Objects section.
2. Create BAM Report
 Open Active Studio
 Click on "Create a New Report".
 Click on first option: Single tiled Report.
 Enter "Employee Dashboard" for Report title and select "3D Bar Chart" as report type.
 Select "Employee" object from Data Objects section at the bottomand click on Next button.
 Select “Department” in Group By section, “id” in Chart Values and “Count” in Summary Function(s). Click on
Next and then Finish button.
 Save this report and it will be visible through "Recent Reports" in Home tab. This report now shows Employee
count grouped by Department.
3. Configure BAM Adapter
 Open Weblogic Server Administration Console.
 From left side Domain Structure section,select Deployments.
 Search and select "OracleBamAdapter".
 Click on "Configuration" and "Outbound Connection Pools" from OracleBamAdapter settings page.
 We can see predefined connection pools for RMI and SOAP connections. Expand both connection factory
links. We need to configure these connection pools to use BAM server.
Important: Repeat following steps for both "eis/bam/rmi" and "eis/bam/soap".
 Open “eis/bam/rmi” link and enter Outbound connection properties as follows. Replace connection parameters
as per your installation. Hit “Enter” key after entering each property value. Click on Save once you’ve
finished.
 Open “eis/bam/soap” and enter connection parameters as follows. Hit “Enter” key after entering each property
value. Click on Save once you’ve finished.
Note: The UserName field should contain an Oracle BAM user who is a member of application-level role
Administrator or Report Architect. “weblogic” userby default is an Administrator.
 Clik on OracleBamAdapter from Deployments page. Go to Control tab. Select OracleBamAdapter, click on
Stop and then Start buttons.Now, Oracle BAM Adapter is ready for use.
4. Create BPEL Sensor Activity and Sensor Action
 Create an empty Generic Project and name is BAMExample.
 Import following employee.xsd file into BAMExample project.
 Create one-way BPEL process and name it BAMExampleProcess. Select Employee element from Project
Schema Files for Input message for the service.
 Double click on BAMExampleProcess in composite.xml to open the BPEL process.
 Click on Monitor button at the top right corner of the process window to change to Monitor view.
 Right click on receiveInput activity and create sensor.
 Change Evaluation Time to Completion. This will activate sensorafter the completion of receiveInput activity.
Select Employee element for inputVariable as shown below.
 From BAMExampleProcess Structure window, right click on Sensor Actions and Creatte –> BAM Sensor
Action …
 Select ActivitySensor_1 for Sensorproperty. Choose Employee Data Object from BAM Data Object Chooser.
 Select “Insert” as Operation type.One other interesting operation is Upsert that stands for Update/Insert.This
operation creates an object if one does not exist or updates an existing one.
 Ensure BAM Connection Factory JNDI value is “eis/bam/rmi”. We can specify “eis/bam/soap” in case BAM
and BPEL servers are separated by a Firewall.
 Create a new mapping between BAM data object and BPEL input variable as shown below.
 Establish XPATH mapping.
 Click on OK to close Sensor Action creation Dialog.
 Right click on BAMExample bpel process and deploy to SOA Server.
Test BAMExample process
 Go to BAMExample in Enterprise Manager and Test the process.
 Enter Oracle1 and ORACLE for name and department respectively. Click on Test Web Service.
 Open BAM Active Viewer. Click on “Select Report” and choose “Employee Dashboard” report we saved
earlier. We can see the updated graph. Experiment with different values.
Complete JDeveloper project for above use-case can be downloaded from here.

More Related Content

What's hot

Web Data & Reporting Zipline – FME Summer Camp
Web Data & Reporting Zipline – FME Summer CampWeb Data & Reporting Zipline – FME Summer Camp
Web Data & Reporting Zipline – FME Summer CampSafe Software
 
Setup gmfzt logging for an hcm extract
Setup gmfzt logging for an hcm extractSetup gmfzt logging for an hcm extract
Setup gmfzt logging for an hcm extractFeras Ahmad
 
Creating A User‑Defined Function In Excel Using Vba
Creating A User‑Defined Function In Excel Using VbaCreating A User‑Defined Function In Excel Using Vba
Creating A User‑Defined Function In Excel Using VbaChester Tugwell
 
Debugger For Siebel Crm
Debugger For Siebel CrmDebugger For Siebel Crm
Debugger For Siebel Crmjayaramans
 
oracle project accounting | best oracle project accounting training
oracle project accounting | best oracle project accounting trainingoracle project accounting | best oracle project accounting training
oracle project accounting | best oracle project accounting trainingOnlineOracleTrainings
 
AUDIT SOFTWARE PROJECT AND ANALYSIS
AUDIT SOFTWARE PROJECT AND ANALYSISAUDIT SOFTWARE PROJECT AND ANALYSIS
AUDIT SOFTWARE PROJECT AND ANALYSISMalcolmJerry
 
Now you can password protect excel outputs too in bi publisher
Now you can password protect excel outputs too in bi publisherNow you can password protect excel outputs too in bi publisher
Now you can password protect excel outputs too in bi publisherFeras Ahmad
 

What's hot (9)

Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167
 
Web Data & Reporting Zipline – FME Summer Camp
Web Data & Reporting Zipline – FME Summer CampWeb Data & Reporting Zipline – FME Summer Camp
Web Data & Reporting Zipline – FME Summer Camp
 
Dashboard presentation
Dashboard presentationDashboard presentation
Dashboard presentation
 
Setup gmfzt logging for an hcm extract
Setup gmfzt logging for an hcm extractSetup gmfzt logging for an hcm extract
Setup gmfzt logging for an hcm extract
 
Creating A User‑Defined Function In Excel Using Vba
Creating A User‑Defined Function In Excel Using VbaCreating A User‑Defined Function In Excel Using Vba
Creating A User‑Defined Function In Excel Using Vba
 
Debugger For Siebel Crm
Debugger For Siebel CrmDebugger For Siebel Crm
Debugger For Siebel Crm
 
oracle project accounting | best oracle project accounting training
oracle project accounting | best oracle project accounting trainingoracle project accounting | best oracle project accounting training
oracle project accounting | best oracle project accounting training
 
AUDIT SOFTWARE PROJECT AND ANALYSIS
AUDIT SOFTWARE PROJECT AND ANALYSISAUDIT SOFTWARE PROJECT AND ANALYSIS
AUDIT SOFTWARE PROJECT AND ANALYSIS
 
Now you can password protect excel outputs too in bi publisher
Now you can password protect excel outputs too in bi publisherNow you can password protect excel outputs too in bi publisher
Now you can password protect excel outputs too in bi publisher
 

Similar to Bam

This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docx
This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docxThis is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docx
This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docxabhi353063
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universitylhkslkdh89009
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018Helen Fisher
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportketulp
 
My First Report slide support
My First Report slide supportMy First Report slide support
My First Report slide supportSpagoWorld
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...WithTheBest
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universitylhkslkdh89009
 
SAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxSAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxKen T
 
Dynamics gp insights to manufacturing
Dynamics gp insights to manufacturingDynamics gp insights to manufacturing
Dynamics gp insights to manufacturingSteve Chapman
 
SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading Manoj Kumar
 
Cis 407 i lab 5 of 7
Cis 407 i lab 5 of 7Cis 407 i lab 5 of 7
Cis 407 i lab 5 of 7helpido9
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Leila Morteza
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designerrlsotto
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examplesAmit Sharma
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examplesAmit Soni
 
Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7helpido9
 

Similar to Bam (20)

This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docx
This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docxThis is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docx
This is part 1 of 3STEP 1 Modify the clsDataLayer to Use a Two-St.docx
 
Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2Oracle BPM 11g Lesson 2
Oracle BPM 11g Lesson 2
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry university
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first report
 
My First Report slide support
My First Report slide supportMy First Report slide support
My First Report slide support
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry university
 
SAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docxSAP BPC Learning Notes and Insights.docx
SAP BPC Learning Notes and Insights.docx
 
Dynamics gp insights to manufacturing
Dynamics gp insights to manufacturingDynamics gp insights to manufacturing
Dynamics gp insights to manufacturing
 
SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading
 
Cis 407 i lab 5 of 7
Cis 407 i lab 5 of 7Cis 407 i lab 5 of 7
Cis 407 i lab 5 of 7
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Siebel Web Service
Siebel Web ServiceSiebel Web Service
Siebel Web Service
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designer
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7
 

More from xavier john

More from xavier john (20)

Unix day4 v1.3
Unix day4 v1.3Unix day4 v1.3
Unix day4 v1.3
 
Unix day3 v1.3
Unix day3 v1.3Unix day3 v1.3
Unix day3 v1.3
 
Unix day2 v1.3
Unix day2 v1.3Unix day2 v1.3
Unix day2 v1.3
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Xavier async callback_fault
Xavier async callback_faultXavier async callback_fault
Xavier async callback_fault
 
Custom faultpolicies
Custom faultpoliciesCustom faultpolicies
Custom faultpolicies
 
All adapterscommonproperties
All adapterscommonpropertiesAll adapterscommonproperties
All adapterscommonproperties
 
Custom faultpolicies
Custom faultpoliciesCustom faultpolicies
Custom faultpolicies
 
Oracle business rules
Oracle business rulesOracle business rules
Oracle business rules
 
Soap.doc
Soap.docSoap.doc
Soap.doc
 
Soa installation
Soa installationSoa installation
Soa installation
 
Vx vm
Vx vmVx vm
Vx vm
 
Webservices
WebservicesWebservices
Webservices
 
While.doc
While.docWhile.doc
While.doc
 
Xml material
Xml materialXml material
Xml material
 
Xpath
XpathXpath
Xpath
 
X query
X queryX query
X query
 
Xsd basics
Xsd basicsXsd basics
Xsd basics
 
Xsd
XsdXsd
Xsd
 
Xslt
XsltXslt
Xslt
 

Recently uploaded

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 

Recently uploaded (20)

why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 

Bam

  • 1. What is BAM? Business Activity Monitoring is a tool that is useful in monitoring business services and processes.It actively collects data, applies rules and reports information to users.When something goes wrong in business processes, BAM can be configured to take corrective measures such as emailing administrators/support team. How does BAM interface with other SOA applications? BAM uses Data Objects to capture and store information from other sources.It uses Real Time Data Streaming to stream data through Oracle BAM Adapter, JMS connector, ODI or web service API. We are going to explore the features of BAM through a simple use-case as shown below: Description: Employee information is sent to BAM Example Process (BPEL). BPEL sensors sends this information through BAM Adapterto populate Employee Data Object in BAM. Employee Dashboard report will capture this information and showin the form of a 3D Bar chart. Steps to implement use-case: 1. Create Employee Data Object 2. Create BAM Report 3. Configure BAM Adapter 4. Create BPEL Sensor Activity and Sensor Action 1. Create Employee Data Object  Open BAM console using http://<yourhost>:9001/OracleBAM  Open BAM Architect  Click on "Create Data Object" and enter "Employee" in the name field.  Click on "Add Field" and add following fields: id (Auto-incrementing Integer), name (String), department (String).  Click on "Create Data Object" to finish creation. You can optionally create a sub-folder to hold Employee object.  Make sure Employee object is visible underData Objects section. 2. Create BAM Report  Open Active Studio
  • 2.  Click on "Create a New Report".  Click on first option: Single tiled Report.  Enter "Employee Dashboard" for Report title and select "3D Bar Chart" as report type.  Select "Employee" object from Data Objects section at the bottomand click on Next button.  Select “Department” in Group By section, “id” in Chart Values and “Count” in Summary Function(s). Click on Next and then Finish button.  Save this report and it will be visible through "Recent Reports" in Home tab. This report now shows Employee count grouped by Department. 3. Configure BAM Adapter  Open Weblogic Server Administration Console.  From left side Domain Structure section,select Deployments.  Search and select "OracleBamAdapter".  Click on "Configuration" and "Outbound Connection Pools" from OracleBamAdapter settings page.
  • 3.  We can see predefined connection pools for RMI and SOAP connections. Expand both connection factory links. We need to configure these connection pools to use BAM server. Important: Repeat following steps for both "eis/bam/rmi" and "eis/bam/soap".  Open “eis/bam/rmi” link and enter Outbound connection properties as follows. Replace connection parameters as per your installation. Hit “Enter” key after entering each property value. Click on Save once you’ve finished.  Open “eis/bam/soap” and enter connection parameters as follows. Hit “Enter” key after entering each property value. Click on Save once you’ve finished. Note: The UserName field should contain an Oracle BAM user who is a member of application-level role Administrator or Report Architect. “weblogic” userby default is an Administrator.  Clik on OracleBamAdapter from Deployments page. Go to Control tab. Select OracleBamAdapter, click on Stop and then Start buttons.Now, Oracle BAM Adapter is ready for use. 4. Create BPEL Sensor Activity and Sensor Action  Create an empty Generic Project and name is BAMExample.  Import following employee.xsd file into BAMExample project.  Create one-way BPEL process and name it BAMExampleProcess. Select Employee element from Project Schema Files for Input message for the service.
  • 4.  Double click on BAMExampleProcess in composite.xml to open the BPEL process.  Click on Monitor button at the top right corner of the process window to change to Monitor view.  Right click on receiveInput activity and create sensor.  Change Evaluation Time to Completion. This will activate sensorafter the completion of receiveInput activity. Select Employee element for inputVariable as shown below.
  • 5.  From BAMExampleProcess Structure window, right click on Sensor Actions and Creatte –> BAM Sensor Action …  Select ActivitySensor_1 for Sensorproperty. Choose Employee Data Object from BAM Data Object Chooser.  Select “Insert” as Operation type.One other interesting operation is Upsert that stands for Update/Insert.This operation creates an object if one does not exist or updates an existing one.  Ensure BAM Connection Factory JNDI value is “eis/bam/rmi”. We can specify “eis/bam/soap” in case BAM and BPEL servers are separated by a Firewall.
  • 6.  Create a new mapping between BAM data object and BPEL input variable as shown below.  Establish XPATH mapping.  Click on OK to close Sensor Action creation Dialog.  Right click on BAMExample bpel process and deploy to SOA Server. Test BAMExample process  Go to BAMExample in Enterprise Manager and Test the process.
  • 7.  Enter Oracle1 and ORACLE for name and department respectively. Click on Test Web Service.  Open BAM Active Viewer. Click on “Select Report” and choose “Employee Dashboard” report we saved earlier. We can see the updated graph. Experiment with different values. Complete JDeveloper project for above use-case can be downloaded from here.