Try OpenEdge Now
skip to main content
Online Help
Introducing OpenEdge REST : Tasks : Packaging ABL REST Web applications : Exporting a REST Web application
 
Exporting a REST Web application
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:
1. In the Project Explorer view, select a project that contains the REST services you want to package as a REST Web application.
2. Right-click the project, and then select Export > REST Application on the context menu.
Note: If you do not see the REST Application option on the right-click context menu, then select Export. On the Export wizard, select Progress OpenEdge > REST Application, and then click Next.
The Export REST Application wizard appears.
3. 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.
4. 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.
5. Select OE Web Server in the Server type field to specify the server to export the REST services.
6. 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.
7. From the REST and Data Object services list, select the services that you want to export.
8. 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.