Run an application

After configuring your application, you can test it to see if it is configured correctly by running it on the GAS. There are several ways of running your application.

For the purposes of this quick start, you can run the "HelloWorld" application you have already configured, see

Configure an application
Before you begin, you must:
  • Have the Genero product suite installed locally.
  • You must have Genero Studio installed (which by default includes the Genero Business Development Language, Genero Application Server, and Genero Desktop Client).
Refer to the Install and License your Genero Products manual for installation guidance.

The goal of this quick start is to provide you with some basic experience of running applications in GAS using the two front-ends: Genero Browser Client (GBC), GDC, and from Genero Studio.

  1. Run your application on the GBC front-end.
    1. If your standalone dispatcher is not running, start it from the command line by typing the command:
      httpdispatch
    1. To run your HelloWorld application, in a browser enter the application address:

      http://localhost:6394/ua/r/HelloWorld

      You have launched the application in the GAS.
  2. To run your application on GDC, 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 in a browser tab
      http://localhost:6394/da/r/HelloWorld
    2. In the system dialog that opens, you can elect to open or save the HelloWorld.gdc shortcut file.
      To open the application, select the Genero Desktop Client from the Open with list and click OK.
    The GDC monitor launches and the HelloWorld application opens in a system window.
  3. To run your application from within Genero Studio, complete the following sub-steps:
    1. If your standalone dispatcher is running, close your open applications and shut down the dispatcher. by pressing CTRL+c .
      You do not need to start the GAS dispatcher if you are running an application from within Genero Studio.
    2. In Genero Studio, the combobox in the bottom right corner of the main window displays the currently active configuration. Make sure the selected option is <GAS version> Desktop.
    3. Select the HelloWorld application from the Projects panel.
      If the application is not listed in your Projects panel, you must search your disk for HelloWorld.4pw in directories where the file is likely to be located.
      The HelloWorld project opens in the Projects panel.
    4. Run your HelloWorld application.
      Select Debug > Execute.
      The application opens in a GDC window.
  4. To run your application from within Genero Studio to the GDC using HTTP, complete the following sub-steps:
    1. In Genero Studio, the combobox in the bottom right corner of the main window displays the currently active configuration. Select the <GAS version> Web configuration option to have Studio launch the application for GBC.
    2. Run your HelloWorld application.
      Select Debug > Execute.
      The application opens in a browser.
    You have successfully run your application using available options for both desktop and Web front-ends.
What to do next

When you have completed the above steps, your next task is to deploy your application as detailed in Deploy an application.