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 Browser Web Client (GBC) and Genero Desktop Client (GDC).

Before you begin, you must:
  • Have the Genero product suite installed locally.
  • It is recommended to 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 by typing the command
    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.
    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 the GBC.
    To view the demo application displayed using the Genero Browser Client, click on the demos link.
    Alternatively, you can enter the address http://localhost:6394/ua/r/gwc-demo.
    The application displays in the browser.
    Figure: Demo application launched by the GBC

    The screenshot shows the demo application displayed in the browser using the GBC
  4. To run the demo application using the Genero Desktop Client for HTTP, complete the following steps:
    Typically applications are run from 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: Opening dialog


    The GDC monitor launches and the demos application is opened in a system window.
    Figure: Demo application launched by the GDC

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