Build war file

Build a war file for deployment of the JGAS and applications. The war file embeds the Genero archive with the applications and web services and the JGAS implementation to serve these applications.

Before you begin:

Run the script file envcomp in the Genero BDL installation directory to make sure that your FGLDIR and PATH are set correctly to run compiler and runtime system tools.

You must have created a gar file with the applications and web services you wish to deploy. See Build Genero archive.

Run the fglgar war command to package the Genero Archive and JGAS in a war archive.
Note:

Genero Browser Client (GBC) customization project, and any additional files can also be included in the war.

At the command line of the directory with the gar file, type the command:
fglgar war --input-gar hello.gar --output hello.war
The hello.war file is created. The war is ready to be deployed in any existing Java Enterprise Edition container such as Apache Tomcat®, Jetty, or Glassfish or as the standalone JGAS.