Perforce JViews Diagrammer Sample: BAM Dashboard
Description
This sample shows a use case of a simple Business Activity Monitoring cockpit developed using the dashboard features present in Perforce JViews Diagrammer.
How to Use the Sample
- Once the demo is started, watch the values changing every seconds.
How to Run the Sample as an Application
This sample can
be run as an application.
The installation directory contains
an executable JAR file,
dashboard-bam-cockpit.jar
,
that allows you to execute the sample with a double click from a
file browser. Note that if you are using Internet Explorer, you can
open the installation directory
and execute the JAR file from the browser. This
technique may not work in other Web browsers.
Alternatively, you
can run the sample application from the command line.
First check that the Ant utility is properly configured. If not, see the
instructions on how to configure Ant for Perforce JViews.
Then, go to the installation directory
of the sample and type:
ant run
Topics Covered
- Creating a dashboard diagram
- Reading a dashboard file
- Retrieving dashboard objects and updating their properties
Detailed Description
This BAM (Business Activity Monitoring) cockpit sample simulates the activity of a commercial website. In this site visitors ask for the web evaluation version of a product which they will potentially buy.
The cockpit displays the main Key Performance Indicators (KPI) associated to the web site.
Installation Directory
The BAM Dashboard sample is installed here.
Classes Involved
-
ilog.views.dashboard.IlvDashboardDiagram
The class used to store and manipulate symbols and graphic objects in a dashboard context.
Source Files
-
BAMCockpit
The demo entry point.