Overview of EGL Rich UI deployment

In relation to EGL Rich UI, the word deploy refers primarily to the creation of an HTML file that embeds previously generated JavaScript output. You specify the details needed for deployment by configuring the EGL deployment descriptor, as described in “Adding Rich UI deployment entries in the EGL deployment descriptor.”

Here is additional detail on the process:
  1. The EGL generator creates the following two outputs for each handler or library: a JavaScript file, and a deployment file that lists all of the parts referenced by the part being generated.
  2. The deployment files specify what JavaScript files are included in the HTML file. After adding the JavaScript files, this step can add the HTML file to the target project.
In the target project is configured for IBM® WebSphere® Application Server, the following statements apply:
In the target project is configured for Apache Tomcat, the following statements apply:

In each case, EGL deployment supports globalization, as noted in “Use of properties files for displayable text.” When you specify a name for the HTML file, the deployment adds locale detail to the name, along with the file extension .html. For example, if you specify myFile.htm and request an output that uses runtime messages in American English, the deployment step creates the file named myFile.htm-en_US.html.

EGL compresses the application to reduce the size of generated HTML files during deployment and uses gzip to compress the files the server sends to the browser.