Display demo applications with the Genero Web Client

If you are looking for code snippets and examples, you are encouraged to view the demo programs included with the Genero Application Server.

Accessing the demos page

The demos application is defined in the GAS configuration file with an Id of gwc-demo
<!--Sample application for GWC-->
<APPLICATION Id="gwc-demo" Parent="defaultgwc">
  <EXECUTION>
    <PATH>$(res.path.fgldir.demo)</PATH>
    <MODULE>demo.42r</MODULE>
    <ACCESS_CONTROL>
      <ALLOW_FROM>127.0.0.1</ALLOW_FROM>
    </ACCESS_CONTROL>
  </EXECUTION>
</APPLICATION>
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.

To access the GAS gwc-demo application, you can use the Genero Web Client user interface, see GWC-JS home page or you can enter this URL:

http://localhost:6394/demos.html

From this page, you can click on the Genero demos link to open the demos application. The GAS must be running (standalone) or must be integrated with a Web server and able to start the required proxies and DVMs.

The demos application can also be accessed directly

You can access the demos application directly by entering the following URL:

http://localhost:6394/ua/r/gwc-demo