Display demo applications with the Genero Web Client

The Genero Application Server displays the demos application using the HTML5 theme. The demos application is restricted to localhost by default.

To access the Genero Application Server demos page, enter this URL:

http://localhost:6394/demos.html

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

The application can also be accessed directly:

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

The demos application is defined in the Genero Application Server 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>

To avoid this application working on production sites, the default configuration restricts access to the localhost (127.0.0.1). If you want to enable it for other client machines / IP addresses, you must customize the ALLOW_FROM tag or remove the ACCESS_CONTROL tag.