iCasa is decomposed in two parts:

  • Gateway part corresponding to the box runtime (iCasa Home Server) including the simulator module.
  • Web server part serving the client web application code (Content Server).

A client using a Web browser access first the Web Server to get the content of web application and then, it access the Gateway to get information about the iCasa execution context and to interact with it.

Web Architecture

1.1. Installation Prerequesites

  • Java Development Toolkit 6 (Avoid Java 7 that may cause troubles).
  • A modern Web browser (We recommend to use Firefox but you can also use Chrome, Internet Explorer is not yet supported).

1.2. Installation Procedure

  1. Download a full iCasa binary distribution (We recommend the icasa.teaching.distribution to start).
  2. Unzip it on a local folder i.e. the ICASA_HOME directory.

The ICASA_HOME directory should have this structure

ICasa Structure

In addition four launch scripts are in the root directory: startGateway.bat, startGateway.sh

2. Launch

2.1. Gateway Part Launch

  1. Go to the ICASA_HOME directory.
  2. Execute startGateway script on Unix systems or startGateway.bat script on Windows systems.

By default, the gateway port is set to 9000 as from 1.2.6+ version (8080 for earlier versions). In this case, the platform url would be http://localhost:9000/.

2.2. Web Server Part Launch

  1. In order to have the simulator and/or the dashboard, it is needed to have the corresponding bundles in the iCasa Platform:

  2. simulator-web-resources, for the simulator GUI site.

  3. dashboard-web-resources, for the dashboard GUI site.

  4. To interact with those applications, go to:

  5. http://localhost:9000/simulator. for the simulator GUI

  6. http://localhost:9000/dashboard. for the dashboard GUI

Back to top

Reflow Maven skin by Andrius Velykis.