Oracle Forms 11g and Java Web Start
Oracle Forms 11g and Java Web Start
This article describes how to run Oracle Forms 11g using Java Web Start, so you are no longer
reliant on browsers. Remember, this is not a supported way to run Oracle Forms 11g, but it hasn't
stopped many people from taking this route.
Test Form
Real Example
Test Form
Before you start trying to run your main application, check you can run the basic test form. If this
doesn't work there is no point wasting time trying to get your application running.
Create a file on your desktop called "test.jnlp" with the following contents. Remember to adjust the
server URL in the "codebase" attribute to match your URL. In a production installation this should
be the URL handled by a load balancer or reverse proxy, but it works the same for a direct
reference.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
resources
<j2se version="1.7+"/>
<jar href="frmall.jar"/>
</resources>
<applet-desc name="Test Form (Dev)" main-class="oracle.forms.engine.Main" width="1
<param name="height" value="750" />
<param name="width" value="1040" />
<param name="serverURL" value="/forms/lservlet?ifcfs=/forms/frmservlet?ifsessi
<param name="serverArgs" value="module=test.fmx"/>
<param name="lookAndFeel" value="Oracle"/>
<param name="colorScheme" value="blaf"/>
<param name="logo" value="no"/>
</applet-desc>
</jnlp>
Notice the use of "&" in the "ServerURL" parameter. If you use an "&" directly you will get errors
about illegal characters in the URL.
Double-click on the "test.jnlp" file and the application will download and run.
Real Example
Here is an example of JNLP file for an application called Banner from a company called Ellucian.
The "codebase" URL is using a reverse proxied URL, rather than a direct machine reference.
Additional JAR files are referenced.
The "serverURL" references a configuration in the "formsweb.cfg" file on the server.
The stating form is set in the "serverArgs" parameter.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com