IBM ILOG Visualization Integration Scenarios
Total Page:16
File Type:pdf, Size:1020Kb
Front cover IBM ILOG Visualization Integration Scenarios Overview of IBM ILOG JViews Enterprise and IBM ILOG Elixir Enterprise Step-by-step integration scenarios for ILOG visualizations Examples with practical scenarios to learn from Hisham Abd El-Hafez Christophe Jolif Ricardo Machado Picone Rob Sidhu Da Zhu Tang Emmanuel Tissandier Byron Braswell Martin Keen ibm.com/redbooks International Technical Support Organization IBM ILOG Visualization Integration Scenarios February 2011 SG24-7917-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (February 2011) This edition applies to IBM ILOG JViews Enterprise 8.7 and IBM ILOG Elixir Enterprise 3.0. © Copyright International Business Machines Corporation 2011. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team who wrote this book . ix Now you can become a published author, too! . xi Comments welcome. xii Stay connected to IBM Redbooks . xii Chapter 1. Introduction to IBM ILOG Visualization . 1 1.1 Overview of IBM ILOG Visualization . 2 1.1.1 What is IBM ILOG Visualization? . 2 1.1.2 Principal benefits of using ILOG Visualization components . 2 1.1.3 Supported platforms . 3 1.2 What is IBM ILOG JViews Enterprise . 7 1.2.1 Diagramming services. 8 1.2.2 Gantt charting services . 9 1.2.3 Mapping services . 11 1.2.4 Charting services . 13 1.2.5 Rapid Application Development tools . 15 1.2.6 Customizable SDKs and MVC architecture . 16 1.2.7 Deployment options available for IBM ILOG JViews Enterprise components . 19 1.2.8 Required software for the creation of an IBM ILOG JViews Enterprise display. 20 1.3 What is IBM ILOG Elixir Enterprise . 21 1.3.1 Components available in IBM ILOG Elixir Enterprise . 22 1.3.2 Required software for creating a Flex application using IBM ILOG Elixir Enterprise . 34 1.3.3 Deployment options available for IBM ILOG Elixir components . 35 1.4 Scenarios for integration with other IBM software. 35 Chapter 2. Using WebSphere REST Technology with ILOG Visualization products. 37 2.1 Overview of REST. 38 2.1.1 Basic concepts . 38 2.1.2 Benefits of using REST . 39 2.2 Designing a RESTful service. 40 2.2.1 A RESTful service scenario . 40 © Copyright IBM Corp. 2011. All rights reserved. iii 2.2.2 Defining the service resources . 41 2.2.3 Defining the data format . 43 2.3 Implementing a RESTful service . 43 2.3.1 Software requirements . 44 2.3.2 Implementing the service . 44 2.3.3 Deploying and starting the service . 56 2.4 Using the IBM ILOG Elixir Enterprise product to visualize data from a RESTful service . 57 2.4.1 Overview . 57 2.4.2 Software requirements . 58 2.4.3 Integration scenario. 58 2.4.4 Elixir diagram implementation . 59 2.5 Using the IBM ILOG JViews Enterprise product to visualize data from a RESTful service . 70 2.5.1 Overview . 70 2.5.2 Software requirements . 71 2.5.3 JViews diagram implementation . 71 2.6 Conclusion. 82 Chapter 3. Using IBM ILOG Visualization and IBM Cognos for web applications . 85 3.1 Introduction to IBM Cognos Mashup Service . 85 3.1.1 The CMS DataSet format . 86 3.2 Creating the IBM Cognos sample report . 87 3.2.1 Software requirements . 88 3.2.2 The XML sample data source file . 88 3.2.3 Creating the data source in IBM Cognos Framework Manager . 90 3.2.4 Publishing a Framework Manager package for the IBM Human Resources sample report . 93 3.2.5 Creating the listing report using the IBM Cognos Report Studio. 96 3.3 Integrating ILOG JViews Gantt visualization with IBM Cognos report . 101 3.3.1 Software requirements . 101 3.3.2 Creating the IBM Human Resources JViews Gantt chart project . 101 3.3.3 Components for Java and web deployment . 105 3.3.4 Testing the application . 110 3.4 Integrating the ILOG Elixir Gantt component with IBM Cognos report . 111 3.4.1 Software requirements . 111 3.4.2 Introduction to ILOG Elixir Gantt resource chart . 112 3.4.3 Creating the IBM Human Resources Elixir Gantt chart project . 113 3.4.4 Calling Cognos Mashup Services (CMS) from Flex . 117 3.4.5 Displaying CMS Data in the Gantt component . 122 3.4.6 Deploying the code into the IBM Cognos IBM Cognos server . 130 3.5 Publishing the ILOG Visualizations to IBM Cognos Business Insight . 131 iv IBM ILOG Visualization Integration Scenarios Chapter 4. Creating IBM ILOG Elixir iWidgets for Mashup Center . 135 4.1 Creating an iWidget wrapper for an IBM ILOG Elixir component . 136 4.1.1 Software requirements . 138 4.1.2 Creating an iWidget in Rational Application Developer. 138 4.1.3 Creating the Adobe Flex application for the iWidget . 144 4.1.4 Bringing the Flex application into the iWidget . 147 4.1.5 Sending iWidget data to the Flex application . 150 4.1.6 Testing the iWidget in Rational Application Developer . 152 4.1.7 Adding more events to the iWidget . 154 4.1.8 Creating an edit mode for the iWidget. 158 4.2 Deploying the IBM ILOG Elixir iWidget in IBM Mashup Center. 164 4.2.1 Software requirements . 165 4.2.2 Deploying the iWidget to the catalog. 165 4.2.3 Prepare your data with the feed generator . 167 4.2.4 Using the iWidget in mashup builder. 168 Chapter 5. Business Monitoring with ILOG Elixir and WebSphere Business Space . 177 5.1 Introduction to IBM Business Space powered by WebSphere . 178 5.2 Business monitoring using IBM ILOG Elixir components . 179 5.2.1 Business monitoring . 179 5.2.2 The integration scenario . 181 5.2.3 Software requirements . 182 5.3 WebSphere Business Monitor REST Services . 183 5.4 Creating the Elixir dashboard . 183 5.4.1 Creating the dashboard in MXML . 184 5.4.2 Creating a new KPI in WebSphere Business Monitor. 187 5.4.3 Calling the WebSphere Business Monitor REST Service . 189 5.4.4 Displaying the KPI in Elixir components . 195 5.5 Deploying the Elixir application using the Web Site widget. 205 5.5.1 Deploying the Elixir Dashboard in the Business Space server . 205 5.5.2 Creating the Web Site widget . 209 5.6 Creating an iWidget to deploy in Business Space. 211 5.6.1 Creating the iWidget.