Launch first application

This quick start guide provides you with the steps to launch the Genero Application Server and view demo applications delivered by the GAS to both Genero Web Client for JavaScript (GWC-JS) and Genero Desktop Client (GDC).

Before you begin, you must:
  • Have the Genero product suite installed locally.
  • Have Genero Studio installed (which by default includes the Genero Business Development Language, Genero Application Server, and Genero Desktop Client).
The goal of this quick start is to provide you with some basic experience in using the Genero Application Server to start a demo application. In this example, we use the standalone GAS dispatcher (httpdispatch), which limits this quick start to a completely local install but simplifies the process by bypassing the need for a Web server.
Note: The standalone GAS dispatcher is for development and testing only, a Web server is required for a production environment.
  1. Start the standalone dispatcher from the command line, for details about starting httpdispatch see Dispatcher: httpdispatch. The application server (the httpdispatch dispatcher) is started.

    The application server (the httpdispatch dispatcher) is started.
  2. Open the GAS demos page from a browser by entering the address, http://localhost:6394/demos.html.
    Note: By default, access to the demos applications is allowed only to localhost (127.0.0.1). If you want to enable it for other client machines / IP addresses, you must define access in the ACCESS_CONTROL element. For more information on GAS configuration see GAS configuration file.
    The Genero Application Server responds, and you should see the Genero Application Server welcome page displayed. This indicates that the GAS dispatcher is working.
  3. Examine the demo application delivered by the Genero Application Server to two front-ends; the GWC-JS and the GDC (see Front-ends and Extensions). To view the demo application displayed using the Genero Web Client, click on the demos link. Alternatively, you can enter the address http://localhost:6394/ua/r/gwc-demo. (For more information on the application URI see Application URIs) The application displays in the browser.

    The screenshot shows the demo application displayed in the browser using the GWC-JS

    Figure 1. Demo application launched by the GWC-JS

  4. To run the demo application using the Genero Desktop Client for HTTP, complete the following steps: Typically applications are run by the GDC monitor by configuring a HTTP shortcut. For more information see the Create a HTTP Connection shortcut page in the Genero Desktop Client User Guide. Follow these steps to download a shortcut via the browser using the da protocol.
    1. Enter the address http://localhost:6394/da/r/gwc-demo in a new browser tab.
    2. In the system dialog that opens, you can elect to open or save the gwc-demo.gdc shortcut. To open it, select the Genero Desktop Client from the Open with list and click OK.


      Figure 2. Opening dialog

    The GDC monitor launches and the demos application is opened in a system window.

    The screenshot shows the demo application launched using the GDC shortcut from the browser

    Figure 3. Demo application launched by the GDC