Wednesday, January 12, 2022

Run Oracle Forms Without A Browser Using Java Web Start(JWS)

Oracle Forms 12C run Oracle Forms without a browser

After your application run successfully on browser (like Internet Explorer, Safari, Netscape).

Step 1:

Open notepad and paste the code I've provided below.


<?xml version="1.0" encoding="utf-8"?>

<!-- JNLP File to test webstart with Forms Application -->

<jnlp spec="1.7+" codebase="http://10.21.1.7:9001/forms/java">

<information>

<title>Test Form (Dev)</title>

<vendor>Oracle Corporation</vendor>

<description>Test Form (Dev) in WebStart</description>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.7+"/>

<jar href="frmall.jar"/>

<jar href="frmwebutil.jar"/>

<!-- <jar href="jacob.jar"/> -->

</resources>

<applet-desc name="Test Form (Dev)" main-class="oracle.forms.engine.Main" width="1" height="1">

    <param name="height" value="100%" />

    <param name="width" value="100%" />

    <param name="serverURL" value="/forms/lservlet?ifcfs=/forms/frmservlet?ifsessid=WLS_FORMS.formsapp.63&#38;acceptLanguage=en-US&#38;config=PSL"/>

    <param name="WebUtilArchive" value="frmwebutil.jar,jacob.jar,icons.jar"/>

    <param name="baseSAAfile" value="webutilsaa.txt"/>

 

    <param name="WebUtilLogging" value="off"/>

    <param name="WebUtilLoggingDetail" value="normal"/>

    <param name="WebUtilErrorMode" value="Alert"/>

    <param name="WebUtilDispatchMonitorInterval" value="5"/>

    <param name="WebUtilTrustInternal" value="true"/>

    <param name="WebUtilMaxTransferSize" value="16384"/>

    <param name="baseHTML" value="webutilbase.htm"/>

    <param name="baseHTMLjpi" value="webutiljpi.htm"/>

    <param name="archive_jini" value="frmall_jinit.jar"/>

 

 

    <param name="archive" value="frmall.jar,frmicons.jar,jacob.jar,frmwebutil.jar"/>

    <param name="lookAndFeel" value="Oracle"/>

    <param name="colorScheme" value="Blue"/>

 

    <param name="pageTitle" value="PSLCODE"/>

    <param name="webformsTitle" value="PSLCODE"/>

    <param name="logo" value="no"/>

   

</applet-desc>

</jnlp>


Step 2:

First, modify the I.P address in "codebase" and then post. The IP address in my case is 10.21.1.7, and the port is 9001.

Second change highlight in “Config” enter your URL config name. In my case is “PSL”

Oracle Forms 12C run Oracle Forms without a browser

Step 3:

Save this file with the extension of JNLP and run the file.

Oracle Forms 12C run Oracle Forms without a browser

Output:

It will download on your PC from server and run it.

Oracle Forms 12C run Oracle Forms without a browser


I hope it's helpful for you. If you have any queries regarding Java or Oracle, don't hesitate to contact me.

Name : Muhammad Sahal Qasim
E-mail : s.m.sahal789@gmail.com
Thank you.


0 comments:

Post a Comment

If you have any doubts, please let me know. I will help you.