Application Web address
To access an application deployed in a war file, there are different options for entering the URL in the browser's address bar.
Application URI
Application URIs used in the JGAS are simplified so that you can use the same URIs as standard GAS if you wish.
The application URI is defined by the format:
http://host:port/war_file_name/ua/r/application_name.
For example, to run an application called HelloWorld in standalone mode in
the hello.war file, an URI can be written in two ways:
-
http://localhost:8080/hello/ua/r/HelloWorld
-
http://localhost:8080/ua/r/HelloWorld
The first option uses the real URL. The second one performs a simple redirect to reach the first one.
Web Services URI
Web services URI contain /ws/r. No redirection is required in this case as standard GAS Web services URLs are used in JGAS.