Summit Application Setup
This document explains how to install the Summit Application, and a description
of the scenario used for testing. It is assumed that you are familiar with configuring
Forms.
Setup the Development Environment
- Expand the ZIP file. This document uses C:\summit as the destination.
- Create a user called SUMMIT in your database:
SQL> connect system/manager
SQL> create user summit identified by summit;
SQL> grant resource, connect to summit;
- From the command line, import the Summit data:
imp userid=summit/summit@<connect_string>
file=summit.dmp full=y
- Put C:\summit in the FORMS_PATH in your .env file
- Compile the application. The file GEN.BAT will generate the files under
Microsoft Windows.
Setup the Runtime Environment
- Add the following virtual directory to your web server configuration files.
This example is for Apache and can be placed in HTTPD.CONF.
Alias /summit/ "C:\summit/"
If you are using iDS to view the Summit application, you need to set it in OC4J's config file: $ORACLE_HOME\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml
<virtual-directory virtual-path="/summit" real-path="C:\summit" />
- If you want to start the application from a config section, add the following to your FORMSWEB.CFG file, and go to step 6. Otherwise go to
step 3.
[summit]
archive=frmall.jar,oracle.forms.demos.RoundedButton.class
userid=summit/summit@<connect_string>
form=customers
pageTitle=Summit
splashScreen=no
lookAndFeel=oracle
separateFrame=false
width=994
height=582
Don't forget to replace <connect_string> with your connect string. You way also need to add the plugin variables to the summit config section so the correct plugin in picked up. The following is an example of how to get Sun's plug-in v1.6 to be picked up:
baseHTMLJInitiator=basejpi.htm
jpi_classid=java:oracle.forms.engine.Main
jpi_mimetype=application/x-java-applet;version=1.6.0
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_6_0-windows-i586.cab#Version=1,6,0,10
- Add oracle.forms.demos.RoundedButton.class
to your archive (or archive_jini if youa re using Jinit) parameter in the formsweb.cfg file.
- Modify your registry file ($ORACLE_HOME/forms/java/oracle/forms\registry\registry.dat) so that Forms can find the icons for the Summit application:
default.icons.iconpath=summit/web
- Copy the file RoundedButton.class to a new directory that you name demos in $ORACLE_HOME/forms/java/oracle/forms so that Forms can find the class file.
- If it is not already there, add C:\summit to your FORMS_PATH.
- Run the Form, either from the Builder or by adding config=summit to theURL that starts Forms on the AS server.
Workload Scenario
The following two scenarios describe the workloads used during scalability
testing.
Data Entry
- Locate the sales rep in the navigator tree of the customers.fmx form.
- Choose different ordering of the customers by clicking on the name and phone
button in the M/R-block.
- Choose one customer in the navigator tree.
- Verify address and phone number of the customer and quickly click through
the other tabs of the customer detail block.
- Double click on the customer to go to the ORDER.fmx form.
- Scroll through the first five orders using the cursor key.
- Press the "create record" key (CTRL-DOWN).
- Insert a new order.
- Insert a new item for this order, choosing it through the LOV on the product id item.
- Verify, that the product is on stock by clicking on the STOCK button and
press EXECUTE QUERY key (CTRL-F11). Then close the STOCK window immediately.
- Do the same for three more items.
- Press the SAVE iconic button to save the order in the database.
- Now delete all the items, press the save key (CTRL-S), delete the order
and press the save key again. (This is required so that we do not generate
millions of orders during the performance tests).
- Now enter a new order with only three items following the same steps as
above.
- Delete this order as well.
- Exit the order form.
The scenario takes approximately 10 minutes. If an order entry is completed
faster, wait until the 10 minutes were completed. This was done 3 times, so
that the resulting script had a duration of 30 minutes.
Query
- Look for a sales person in the navigator tree.
- Order his customers using the buttons in the customer M/R block.
- Choose a customer in the navigator.
- Examine the customer detail information on each tab-folder.
- Do the above operation for 5 minutes with plenty time for reading through
the information on the customer tab.
- After 5 minutes double click on a customer node in the navigator tree.
- For 5 minutes use different queries to select orders and scroll through
the result sets.
- Take time to read the order and item information.
- Exit the order form.
The above steps were performed for 30 minutes.