You can create an OpenEdge Data Object project and customize the
options for Data Object services development.
To create an OpenEdge project specialized for Data Object Service
development:
-
Select from the Progress Developer Studio for OpenEdge main menu bar or
the Project Explorer view context (right-click) menu. The New OpenEdge Project
wizard opens and displays the Create an OpenEdge Project page.
-
Type a name in the Project name
field.
The root folder for the new project is created in your current
Eclipse workspace, unless you specify a different location.
-
To choose a different location for the project, click and clear
the Use default check box. Then either browse to, or
enter the path to the desired location.
-
Select Server from the left section.
-
Select Classic option button to select the server type
that you want to deploy the application to.
-
Select REST as the transport.
-
Select the Create Data Object Service check box.
Note: If you want to create a Data Object project with Express setup, select the
Express setup check box and click
Finish.
-
Click Next. The Select AVM and layout
options page appears.
-
Specify the OpenEdge AVM options and the
Project layout options (or retain the default
settings). For more information, see the Select AVM and layout options
page.
-
Click Next. The Define AppServer content
module page appears.
-
In the Module name field, enter the name for the
AppServer module. The default is the project name.
-
In the AppServer source folder field, enter a name of
the AppServer module content directory. The default is a folder named
AppServer.
-
From the Supported
servers list, select a broker that will be the destination for
publishing your AppServer application service files. The primary function of
these servers is to support publishing your code for running, testing, and
deploying your Data Object service.
Note: Data Object projects can be used to deploy Data Object
Services only to traditional servers. To deploy Data Object Services to a
PAS for OpenEdge server, you must create a project with the PAS for OpenEdge
server type and REST transport with a Data Object service type.
-
Click Next. The
New Data Object Service page
appears.
-
Select the Create a Data Object
service check box to create a default Data Object service for
the Data Object project and associate the Data Object service with the OE Web
Server instances. For more information, see the Creating a Data Object Service wizard.
-
Click Next. The Define PROPATH page
appears.
-
Retain the default settings or modify the PROPATH entries to be used by the
project. For more information , see the Define PROPATH page
appears.
-
Click Next. The Select database
connections page appears.
-
Select the database connections to be used by the project. For more
information, see the Select database connections
page.
-
Click Next. The Static Web Project page appears.
-
Configure settings for the static Web module.
-
Click Finish.
You will see the OpenEdge Data Object project created in the
Project Explorer view. Open the OpenEdge
Data Object project in the OpenEdge Server perspective. On successful creation of an
OpenEdge Data Object project, the AppServer, REST, Progress Adapters, JavaScript, Data
Object, and Static Web Module facets are associated for a Data Object project. The
Project Facets page displays the facets
associated with your current OpenEdge project. For more information, see the
Project Facets page.