Deploying the Century Cellular Corporation Demo Application

How to:

This section describes how to deploy the Century Cellular Corporation (CCC) demo application using the iWay Service Manager Administration Console. After the demo application is deployed, the individual iWay components (such as process flows, channels, registers, and so on) that are used to construct this demo application can be examined further to provide a more comprehensive understanding of the process.


Top of page

x
Procedure: How to Deploy the Century Cellular Corporation Demo Application
  1. From the Windows Start menu select All Programs, iWay 6.0.1 Service Manager, and then Console.

  2. Click Deployments in the top pane of the iWay Service Manager Administration Console.

    The Deployments pane opens, showing links to Channels, Services, Metrics, and Web Services, in the left pane.

  3. In the left pane, select Services.

    The Services pane opens, as shown in the following image.

  4. Click Deploy.

    The Available Processes pane opens, as shown in the following image.

  5. From the list of services available for deployment, select the following:
    • ccc (Century Cellular Corp real-time demo constructor)
    • ccc.rearm (Callable service that forces a reload of the incoming message chamber)

    Note: In iWay Enable, a constructor is a register set that has a process flow with the same name. It is used to initialize the feeds of an application and is automatically called as required.

  6. Click Deploy.

    You are returned to the Services pane, which is updated to display the services that you deployed.

    The CCC demo application uses various registers, which are packaged with iWay Enable. You must import the ccc register set into the configuration to initialize the expressions for events that are related to the CCC demo. This allows for the transfer of register (event/feed) configuration from one configuration to another without having to recreate any components.

  7. Click Tools in the top pane of the iWay Service Manager Administration Console.

    The iWay Service Manager Tools pane opens.

  8. In the left pane, select Settings under the Real-time section.

    The Settings pane opens, as shown in the following image.

  9. Click the Metadata tab.

  10. In the Import section, select cccImport from the Register Set drop-down list and click Import.

    The following confirmation message is displayed.

  11. Click OK.

  12. In the left pane, select Views under the Real-time section.

    The Views pane opens, as shown in the following image.

  13. Click the Taps tab.

  14. Select the check box next to the following taps to activate them:
    • ccc.carphone.file.loadsaleorder
    • ccc.carphone.service.tapeventdata.1
    • ccc.carphone.service.tapeventdata.2
    • ccc.carphone.service.tapeventdata.3
    • ccc.carphone.service.tapeventdata.4

    You are now ready to build and deploy the channel, which is used to pick up incoming sales transactions from the file system.

  15. Click Registry in the top pane of the iWay Service Manager Administration Console.

  16. In the left pane, select Channels.

    The Channels pane opens, as shown in the following image.

  17. Select the check box next to carphone-load, which is the File channel that is used by the CCC demo application to listen for batched sales transactions in an incoming directory. This channel will also run the process flow (ccc.carphone) and will process phone sales, which are being tapped.
  18. Click Build.

    The build result pane for carphone-load opens.

  19. Click Deployments in the top pane of the iWay Service Manager Administration Console.

    The Deployments pane opens, showing links to Channels, Services, Metrics, and Web Services, in the left pane. By default, Channels is selected and the Channel Management pane is displayed, as shown in the following image.

  20. Click Deploy.

    The Available Channels pane opens.

  21. Select carphone-load and click Deploy.

    You are returned to the Channel Management pane. Notice that carphone-load is now included in the list of deployed channels.

    Note: Once a channel is deployed, you must also start it. A deployed channel is not started automatically. Notice the red X in the Status column for carphone-load.

  22. Select the check box next to carphone-load, which is already deployed, and click Start.

    A green checkmark now displays in the Status column, indicating that carphone-load is started.

    The channel (carphone-load) is now running and will process messages as they arrive.

  23. Click Tools in the top pane of the iWay Service Manager Administration Console.

    The iWay Service Manager Tools pane opens.

  24. In the left pane, select Applications under the Real-time section.

    The Applications pane opens, as shown in the following image.

  25. Click ccc, which is the predefined CCC demo application that is packaged with iWay Enable.

    The CCC demo application opens in a new pop-up window and displays the various gauges and charts that are used by this application.

    You can also click the name of the application (ccc) in the title bar to view the application in full screen mode. Initially, the gauges and charts are inactive, since there is no incoming data to process.

    The CCC demo application front-end enables the user to control the state of the underlying business channel. The current state of the channel is displayed as either active or inactive. To change the state of the channel, click on the corresponding link. In a few seconds the state of the channel will change and the new state will be reflected on the application view. The channel has to be in an active state to process messages.

    This action is enabled by the underlying _ESCRIPT() function which runs the available JS script to enable the toggling of the channel state. For more information on the _ESCRIPT() function, see iWay Functional Language.

  26. To start the CCC demo application, click the reload link.

    This action runs the process flow (ccc.rearm) in the background using the REST style HTTP GET call. The process flow unzips the sample messages into the incoming directory to be picked up by the the channel (carphone-load). The channel will start processing messages and in a few seconds, the gauges and charts become active to reflect the incoming mobile phone sales data.

  27. Click the facts link.

    A tabular view of the data is displayed, as shown in the following image.

    Click DataTable to view a tabular view of the information, which was generated using the DataTable resource from the supported iWay Enable resources.

    To access a more detailed view of the data, click ActiveReport, which was created using the ActiveReport resource that allows further actions such as sorting, filtering, additional calculations, and generation of new charts.

    To change a particular data view, click the down arrow icon in any column and select an available option. The default setting calculates a sum of phone models sold by each affiliate. However, to change the data view to calculate the maximum number of phones sold by a specific affiliate, click the down arrow in a specific column, select Calculate and click Max from the context menu, as shown in the following image.

    If you select the Auto-update check box, the active report is updated automatically as more data is processed. Otherwise the active report update can be performed manually by clicking the update button.

    Click EventCloud to view a visual comparative view of events in a cloud. The cloud view enables the roll-up and drill-down of events for further discovery.

    Click the Up arrow to roll-up events to the top level.

    For instance, in this view it is clear that sales of Nokia phones are much higher than sale of Apple phones. Click on lg to drill-down.

    This takes you to the lower view where you can compare which affiliate has sold more LG phones. The relative font size of the event indicates that Facebook has sold more LG phones than Amazon.

    Click on the LG Phones Promo - Performance stack column graph to see the Bubble Chart view. Moving your mouse over a bubble will display the affiliate's name. This conceptual view is just another representation of the same underlying date. The position of the affiliate bubble determines how many phones the affiliate has sold (further to the right means more sales). The size of the affiliate bubble is determined by the percentage of LG phones in comparison to total sales.


iWay Software