Try OpenEdge Now
skip to main content
Configuration
Configuring OE Web Servers : Managing OE Web Servers : Deploying a REST Web application (.war file)
 

Deploying a REST Web application (.war file)

You can deploy a REST Web application (.war file) to the Servlet AdminServer where the OpenEdge Manager Servlet instance is installed.
A deployed REST Web application receives its initial property values from the default.props file for the REST instance. You can change these default property values after you deploy the .war file. A REST Web application always deploys with a disabled status to prevent premature or unintended client access.
To deploy a REST Web application:
1. Click Resources in the management console menu. All resources managed by your console appear in the grid frame.
2. Filter or search for the OE Web Server instance where you want to deploy the REST Web application.
3. Click the OE Web Server instance. The REST Applications page appears.
4. In the REST Applications section of the page, click the Deploy button.
5. In the Deploy REST Application .war dialog that comes up, browse for the path and name of the WAR (.war) file for the REST Web application that you want to deploy.
6. You can optionally provide the REST Web application name in the Application name field.
7. Click Deploy to deploy the REST Web application with the default settings. A confirmation message appears, and the WAR file name is identified in the REST Applications section of the REST Applications page.
Deployment generates files in the OE Web Server instance directory, one of which is applicationName.props, an XML file containing the current REST Web application property settings (initially set from default.props)
Caution: You must disable the REST Web application before you try to modify any of the properties. Two of the properties, serviceLogEntryLevel and serviceLoggingLevel can be modified even when the application is Enabled.
After deployment, to make the same REST Web application available using different information, deploy a new REST Web application with the new information, using a different REST Web application name in the same OE Web Server context. You could also deploy the REST Web application to a different OE Web Server context.
However, you can change the run-time properties of a deployed REST Web application at any time.