Try OpenEdge Now
skip to main content
WebSpeed Essentials
Running and Deploying WebSpeed Applications : Running sample applications
 

Running sample applications

WebSpeed includes sample applications that illustrate intranet, Internet, and extranet applications. The sample applications run against the sample Sports2000 database, which is located in your installation directory.
Note: For detailed instructions on creating a local copy of the Sports2000 database for use with a sample application, see the chapter on working with sample applications in OpenEdge Getting Started: Progress OpenEdge Studio.
The HTML source files that are compiled to create the Web objects (r-code) for the sample applications are in the install-path/src/samples/web directory.The r-code that WebSpeed agents actually run is in the install-path/tty/samples/web directory.
Before you can run sample applications, you must have WebSpeed running on a Web server. In addition, you must set up WebSpeed to run while connected to the Sports2000 sample database.
To set up WebSpeed to run while connected to Sports2000:
1. Create a copy of the Sports2000 database in your working directory.
2. Copy the sports2000trgs folder (which contains database triggers) from your OpenEdge installation directory to your working directory.
3. Start a server for your working copy of the Sports2000 database.
4. Start a WebSpeed broker connected to your working copy of the Sports2000 database. See Configuring a WebSpeed broker to connect to a database for instructions on completing this procedure.
* Overview of sample applications
* Running the SportsPro Sales Advisor
* Configuring a WebSpeed broker to connect to a database