Deploying Icon Images with the Forms Servlet Upgrading Integrated Calls to Oracle Forms to use Oracle Reports

13-10 Forms Services Deployment Guide

13.2.8.1 Deploying Icon Images with the Forms Servlet

Using static HTML start files in Forms Services Release 6i allowed storage of images in a location relative to the start HTML file. The Forms servlet in Oracle Forms Services does not support this. The alternative is to use the imagebase parameter with the value of codebase as the location for the icon images used by applications. The codebase value refers to the formsjava directory, which contains all of the Forms client Java archive files. For performance reasons, it is not a good idea to store images here. Instead, you should bundle the icons into a separate archive file, which improves performance because archives are cached permanently on the client. Follow these steps to create this archive file.

1.

Verify that the jar command succeeds. If it does not, then you need to ensure that there is a JDK installed on your system with a correct PATH environment variable entry pointing to the JDK_HOMEbin directory. 2. Navigate to the directory containing the application images and issue the command: jar -cvf application_images.jar .extension where: ■ application is the name of the application ■ extension is the extension of the image file for example,.gif A jar file, application_images.jar, is created in the current directory. 3. Copy application_images.jar to the formsjava directory. 4. Edit the formsweb.cfg file, adding the imageBase=codebase parameter to the custom application section for the application. 5. Add the application_images.jar file to the archive path used by the application by adding the following line to the custom application section: archive=frmall.jar,application_images.jar See Section 4.7, Deploying Fonts, Icons, and Images Used by Forms Services for more information on deploying custom icon files with Oracle Forms Services.

13.2.8.2 Upgrading Integrated Calls to Oracle Forms to use Oracle Reports

Integrated calls to Oracle Reports in Forms are no longer handled by a client-side background engine. Oracle Forms Services requires that applications use the RUN_ REPORT_OBJECT built-in, calling Oracle Reports to process integrated reports. Oracle Reports is set up as part of the Business Intelligence and Forms installation. Follow these steps to upgrade the call:

1.

Change all occurrences of RUN_PRODUCT Reports,... to the equivalent call using RUN_REPORT_OBJECT. 2. Add the location of the application’s Reports modules to use the Reports_Path of Oracle Reports. 3. Change RUN_REPORT_OBJECT to reference Oracle Reports. For more information, see Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services. Upgrading to Oracle Forms Services 11g 13-11

13.2.8.3 Creating Forms Listener Servlet Alias Names