Deploying Your Application Application Deployment

3-8 Forms Services Deployment Guide Forms run-time process frmweb.exe on Windows or frmweb on UNIX and Linux for each Forms Services session. For more information about how Forms Services run, see Section 3.1, Oracle Forms Services in Action.

3.3.1 Deploying Your Application

To deploy a basic form with the default parameters set up by the installer:

1.

Create your application in Forms Developer and save it. The .fmb file is a design time file that can only be opened in Forms Developer. The .fmx file is the run-time file created when you compile the .fmb and is used for Web deployment. For more information about Forms Developer, see the Help menu in Forms Developer. 2. Modify the formsweb.cfg file so that Oracle Forms Services can access your application module. You edit this file in the Web Configuration page of Fusion Middleware Control. For more information, see Section 4.2, Configuring Forms Services . Table 3–1 shows the configuration of an application called my_application with a form module called form=hrapp.fmx: When configured, the Oracle Forms Services module hrapp.fmx is accessible on the Web by entering ...?config=my_application in the browser URL the name of the Web Configuration section in formsweb.cfg.

3. Make sure the .fmx file location is specified in the FORMS_PATH environment

variable. For example, in Windows, if your .fmx file is located in d:\my_ files\applications, in the FORMS_PATH, include d:\my_ files\applications. On Windows, use semi-colons to separate directory locations if specifying multiple locations. On UNIXLinux, use colons for separators. Specify this information in the Environment Configuration page for the environment file.

4. To modify an environment file, select the file in the Environment Configuration

page of Fusion Middleware Control and add or edit environment variables as needed by your application. For example, you can add the environment variable shown in Table 3–2 . Table 3–1 Example of Configuration Section Parameter Values Configuration Section Name Forms Module Name Value my_application hrapp.fmx Note: The name of the configuration section must not include spaces and must contain only alphanumeric characters. Basics of Deploying Oracle Forms Applications 3-9 If you specified these environment variables in an environment file, specify this environment file in the respective configuration section of the formsweb.cfg in the Web Configuration page. 5. Enter the name of your application in the URL as shown: http:example.com:8888formsfrmservlet? where example is the hostname of your computer and 8888 is the port used by your HTTP Listener. Once you have created a configuration section, add config= and the name of the configuration section. In this example, the URL to access hrapp.fmx is: http:example.com:8888formsfrmservlet?config=my_ application

3.3.2 Specifying Parameters