Deploying REST Services to an application server

Once REST Services have been configured by using the ODRESTAdmin utility, the REST Services web application resource (WAR) file must be deployed to an application server. This file is named cmod-rest.war and can be found by default in the following locations:

AIX

/opt/IBM/ondemand/V10.5/www/rest

Linux

/opt/ibm/ondemand/V10.5/www/rest

Windows

C:\Program Files\IBM\OnDemand\V10.5\www\rest

Be aware that REST Services has a dependency on the Content Manager OnDemand Web Enablement Kit (ODWEK) Java API. To ensure optimal performance for REST Services, only one ODWEK-dependent application should be deployed per application server (or application server profile in the case of WebSphere Application Server).

The following sections describe in detail the steps needed to deploy the cmod-rest.war web application resource file.