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.
-
Run your application on the GBC front-end.
-
If your standalone dispatcher is not running, start it from the command line by
typing the command:
-
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.
-
To run your application on GDC, complete the following steps:
These applications are typically 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.
-
Enter the address in a browser tab
http://localhost:6394/da/r/HelloWorld
-
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.
-
To run your application from within Genero Studio, complete the following
sub-steps:
-
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.
-
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.
-
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.
-
Run your HelloWorld application.
Select .
The application opens in a GDC window.
-
To run your application from within Genero Studio to the GBC using HTTP, complete the following
sub-steps:
-
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.
-
Run your HelloWorld application.
Select .
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 nextWhen you have completed the above steps, your next task is to
deploy your application as detailed in Deploy an application.