The Export REST Application wizard allows you to package a REST
service as a REST Web application (WAR file) or to export services incrementally by
creating a .PAAR file for each REST service in the project.
You can package one
or more services into a single REST Web application. You can use WAR file to deploy the
packaged REST Web application to the Apache Tomcat Java container.
To export as a WAR
file or incremental service:
-
In the Project Explorer view, select a project that contains the
REST services you want to package as a REST Web application.
-
Right-click the project, and then select on the context menu.
Note: If you do not see the option on the right-click context menu, then select
. On the Export wizard, select
Progress OpenEdge > REST Application, and then click
Next.
The Export REST Application wizard appears.
-
The REST project drop-down displays the project you have selected in
step 1. You can select a different project from the drop-down.
Note: The REST project drop-down lists only the projects of your current workspace.
-
In the Destination drop-down, specify a location or click
Browse to select a different location for the REST
Web application WAR or .PAAR file.
Note: The Destination drop-down displays a list of
previous WAR file generation locations of your current workspace.
-
Select OE Web Server in the
Server type field to specify the
server to export the REST services.
-
Select one of the following options:
- Export as a WAR file to export services by creating a single
.WAR file for all the selected REST services in the project.
- Export services incrementally to export services by creating a
.PAAR file for each selected REST service in the project.
-
From the REST and Data Object
services list, select the services that you want to export.
-
Click Finish.
The selected services are exported as a single REST Web application (WAR file) or as .PAAR
files based on your selection and saved at the location specified in the
Destination field. For information on the REST Web
application WAR file layout, see the OpenEdge Application Server -
Administration guide.