Data access in the sample application is provided by business entities that access the sports2000 database and communicate to the application through a service interface. The class files for the business entities and service interface are already provided in the SampleApp project files, so it is not necessary to create them. However, you must create a working copy of the sports2000 database.
The following procedure shows one of the many ways to create a copy of the sports2000 database. It illustrates the use of the Data Dictionary, which is one of several OpenEdge tools that you can launch directly from Progress Developer Studio for OpenEdge.
To create a working copy of the sports2000 database:
1. Start Progress Developer Studio for OpenEdge in the workspace where you created the SampleApp project.
2. Select SampleApp in the Project Explorer view.
3. Select OpenEdge > Admin > Data Dictionary from the main menu.
4. Choose Create a New Database on the Dictionary Startup dialog.
5. Click OK. The Create Database dialog appears.
6. Enter sports2000 in the New Physical Database Name field.
7. Choose A Copy of the Sports2000 Database in the Start with section. The Create Database now looks similar to the following illustration:
8. Click OK. The Connect Database dialog appears.
9. Click Cancel. The Data Dictionary dialog appears.
10. Select Database > Exit from the Data Dictionary main menu.
After you create a copy of the sports2000 database, you must create a connection profile and add it to the SampleApp project.