Oracle Forms migration to JDeveloper

Hi everybody,
We got here a large pool of Oracle Forms and PL/SQL savvy resources. They mainly use Oracle Designer to generate Oracle Forms applications. Occasionnaly, they tweak the generated forms with PL/SQL triggers to adapt the application for special needs.
Now, they would like to go towards applications with HTML front-ends. With the advent of JDeveloper 10g (9.0.5), it might be the right time. With the ADF framework, screen painter, design time components, etc... there should be an easier learning curve for people with no java experience. Yes, we expect a couple of guys that should be very Java savvy but it should not be required for the entire pool of developer resources.
Personnaly, I investigate the business tier (or data tier) to identify changes in the development methodology required to address the java environment.
Currently, a good part of the business rules are defined within the database through the use of triggers. Should it stay the same with the use of ADF BC4J ? I mean, is there some situations where some kind of business logic or validation should reside within the BC4J model for the sake of performance or ease of development with ADF and the design time components? Maybe I should duplicate in java (within BC4J) some kind of validations like we used to do with Oracle Forms (through PL/SQL form triggers) to give the user a better UI response?
I need some guidelines here.
Thank you

Thanks Prasoon for you suggestions.
We're not heading toward application conversions from Forms to J2EE. Instead, we're thinking development methodology transformation from Designer/Forms to J2EE. But, in the beginning we're trying to minimize the efforts needed to learn the java (and J2EE) complexities. In the middle/long term, the developers should apply the correct techniques to build web applications with the right tools and proven J2EE standards.
Right now, we're looking at the Designer ADF Business Components Generator comming with JDeveloper 10g to see to what extent we can reproduce in BC4J what we can define in Designer for a module. In the first time, we intend to continue module definitions in Designer (instead of UML Activity or Class diagram). That part should sufice for the database definition and the model layer. For the view layer, I think that the new screen painter in JDeveloper can be used the same way the developers used the screen designer in Oracle Designer. That leaves the Struts Page Flow for the controler layer.
We know that JDeveloper has not evolved yet to the level of what Oracle Designer can do. There is a certain amount of stepping back in the design of an application. But we think we must step in the J2EE world some day and maybe JDeveloper 10g give us that opportunity. After further evaluation, if we think the gap is too large, maybe we'll wait for a next JDeveloper evolution.
Yves

Similar Messages

  • Problem calling WebService from Oracle Forms created by JDeveloper

    Hi All,
    I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
    The Java Function (in JDeveloper) is as follows:
    public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    requestBodyEntries.addElement(TagName);
    requestBodyEntries.addElement(ReadingTime);
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    return responseBody.getBodyEntries();
    When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
    FUNCTION GetPIValue(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    Message('param passed: '||a0||' - '||a1);
    cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    Message('I am Here');
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;
    When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
    A similar Webservice that can be Tested is:
    http://www.webservicex.com/CurrencyConvertor.asmx
    with WSDL file:
    http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
    Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
    Any help is much appreciated.
    Regards,
    Baz

    Hi,
    Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
    Other solution would be to use JRE 1.5 (instead of JInitiator).
    Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
    -Arun

  • Tran. Oracle Form/Report to JDeveloper.

    Can I import the Oracle Form and Report source into JDeveloper to save the developing source?
    Thanks.
    null

    Check out the forms2java wizard at : http://www.forms2java.com/Tools/Forms2Java_Wizard/forms2java_wizard.html

  • Oracle Forms & Report Upgrade/Migrate from 6i to 11g

    Hi All,
    We are planning to upgrade/Migrate from Oracle Froms and Reports 6i to 11g. Can some one please  give me an high level steps to upgrade and migrate from 6i to 11g version.
    Many thanks in advance.
    Kind Regards,
    Mohan

    hi ,
    use below steps for Eliminate this issue
    To start the wizard version of the Forms Migration Assistant:
    1. On Windows systems, set the environment variable FORMS_PATH:
    SET FORMS_PATH=%ORACLE_HOME%\forms
    On UNIX systems, set the variable FORMS_PATH as in the example below:
    setenv FORMS_PATH $ORACLE_HOME/forms
    2.
    In Windows, from the Start menu, select ORACLE_HOME | Forms Developer |Oracle Forms Migration Assistant (GUI Mode), or at the command line, start the conversion utility by entering: frmplsqlconv.bat mode=wizard.
    or
    in UNIX, enter frmplsqlconv.sh mode=wizard.
    The Conversion Wizard Welcome dialog displays.
    Regards,
    Babu

  • Oracle Forms 11g / frmall.jar or frm90all.jar installation

    I need to import Oracle.Forms.properties.ID in one of my JDeveloper application.
    I am using JDeveloper 10.1.3.5. I need frmall.jar/frm90all.jar to make the above import statement work in JDeveloper if i am not mistaking.Basically i need to add either of the .jar in Jdeveloper.
    For that I came accross Oracle Forms 11g. For Oracle Forms 11g I have installed wlserver_10.3. and i have ofm_pfrd_win_11.1.1.3.0_32_disk1_1of1\Disk1 with Oracle Fusion Middleware forms 11g setup. When I click on that setup getting a Oracle screen asking me for Oracle Middleware Home and Oracle Home Directory. My Oracle 11g db is installed in C:\new\Oracle11g.
    And setting up ORACLE_HOME pointing t that directory. clicking on next on that screen is giving errors like Oracle Home location is not specified , The specified MiddleWare Home is not valid and Oracle.classicwsl.top could not be located etc.
    Can Anyone help me solving this issue so I can use Oracle Forms ID in JDeveloper.?

    Let me tell you what exactly i am doing :
    I have set the below environment variables:
    Path=C:\new\Oracle11g\bin;D:\app\veeralakshmi_v01\product\11.1.0\client_1\bin;C:\Program Files\ZeroC\Ice-3.4.1\bin;C:\Program Files\Java\jdk1.5.0_16\bin;
    ORACLE_HOME=C:\new\Oracle11g\BIN;
    I have C:\Oracle\Middleware in this path i have folders and sub folders like C:\Oracle\Middleware\jrockit_160_17_R28.0.0-679
    C:\Oracle\Middleware\oepe_11gR1PS2
    C:\Oracle\Middleware\wlserver_10.3
    C:\Oracle\Middleware\modules
    C:\Oracle\Middleware\coherence_3.5
    C:\Oracle\Middleware\jdk160_18
    and other folders and files.
    Now when i click on \\myshecsccm01\PackageSource\ofm_pfrd_win_11.1.1.3.0_32_disk1_1of1\Disk1\setup it takes me to Oracle 11g fm . On step 2 of 6
    for Oracle Middleware Home :C:\Oracle\Middleware
    and Oracle Home Directory: ORACLE_HOME
    i m giving.
    Here the Middleware folder contains the above folders/sub folders listings.
    and clicking on next I am getting the below errors:
    INST-07010: Validation of Oracle Home location failed. The location specified does not exist.
    Enter a valid existing directory
    INST-07100: The Oracle home provided does not contain Oracle Portal 11.1.1.2.0.
    In order to patch your existing version please provide an Oracle home that contains the product mentioned above. If you choose to continue, only the oracle_common directory and any components that both products have in common will be patched.
    INST-07293: Middleware home location specified does not have the required Oracle homes installed in it. The Oracle homes for the following components is not installed oracle.classicwls.top.
    Provide a different Middleware home location or install the required Oracle Products and try the install again
    So as per your suggestion My middleware folder is not empty.
    what should I do?
    And after doing all these installtions will i be able to get the frmall.jar file which i really required to use it for importing Oracle.forms.properties.ID?
    Edited by: 874822 on Jul 25, 2011 9:40 PM

  • Create forms/adf using  JDeveloper 11

    hi
    i have a reg form and i hve created the EO's & VO's
    i drag n drop the VO to for create froms/ adf form and its running
    my problem is while running the page it by default it fills the existing data , i need to click the create button to init the create form
    is it possible with out the create button , set the default form to create model
    pls advice

    You're in the wrong forum, its about Oracle forms. For JDeveloper and ADF, try this JDeveloper and ADF

  • Migration of older version Oracle forms to Oracle 6i/9i

    Can someone tell me whether I can use Oracle JDeveloper Application Migration Assistant to migrate older version of Oracle forms to Oracle 6i/9i?
    Thanks a lot,
    Anupama Ashok

    thanks,
    if so,
    i have an humantask activity in the process. in revision 1.0 , i have some instances which are running. it is exposed as a service which other services consume.
    now, if i redploy to the same revision, the state goes stale, so that we could not act on stale human tasks which should not happen
    what should i do in this case if i am unable to migrate to the revision?
    pleasse help..

  • Migration of Oracle forms conversion?

    Hi All,
    I would like to know steps or procedures for migrating oracle forms using Jdeveloper and Apex.
    By using which toll i mean Jdeveloper or apex we can achieve the best results?
    Thanks,
    Anoo..

    Hi,
    But when i have tried a poc for oracle conversion forms, it is converting into separete pages? in that scenerio how can we combine or i mean how to integrate it?
    and the same time can we get steps for Jdeveloper also.
    Apart from these i would what others tools can we use for migarting.
    Thanks,
    Anoo..

  • Migration from Forms 9i to Jdeveloper 9i

    Hello Friends,
    I am in the process of analyzing if there is a way to migrate Oracle forms 9i forms to Jdeveloper 9i. Any info is appreciated.
    Thanks
    srinivas

    We are also considering a move from Forms to Java. There are a number of reasons.
    The first is a requirement to reduce the network usage across the WAN. WE have a newer application written in Java (JSP) and this shows vastly better network results.
    Secondly, we hope to reduce the need for heavy weight JAVA engine in the browser.
    Of course, for us, it may be more difficult as we use Designer 6i (and forms 6i) generating the vaste majority of our application. We would not want to lose this ability!

  • Oracle reports 6i to Oracle forms 10g migration

    Hi,
    I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
    Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
    Currently for ORacle reports 6i, I have the following code in my java application
    rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
    1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
    2. What ould I do with the 6i .rdf files to upgrade them to 10g ?

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • Migrating Oracle forms and reports from 6i to 10g Application server on Uni

    HI Guys,
    We are migrating from Oracle forms and reports 6i to 10g.
    We will be having application server on Unix box.
    I understand following will be the changes i will have to do in this respect -
    1. Fonts are to be revisited only Java fonts are supported.
    2. Obsolete items, function calls, triggers are to be removed.
    My question is since this application can be cross platform application,
    Can anyone provide me with changes that I will have to do with configuration files like -
    1. Formsweb.cfg,
    2. forms.conf
    3. default.env
    4. registry.dat
    Keeping in mind that the application server will be on unix box.
    Thanks,
    Av.

    Java fonts are only supported for the Forms version.
    You can use your own fonts for Reports however, there is some legwork to do this. I know because I just went through it.
    If you will only being using the PDF output (which for me replaced the Preview mode that existed in 6i), then you have to install the TTF for the missing font, an AFM (use the ttf2pt1 utility to generate the AFM file, but make sure you remove the AFM extension when moving it to Unix). You'll want to use the PDF Subset in the uifont.ali (which exists under the ORACLE_HOME/guicommon/tk/admin directory and add the line underneath the PDF Subset "Font Family Name"="TTF Font Name" The font family name is found when you open the AFM file in textpad or wordpad for the font you generated. This is what you enter. The TTF Font Name is the name the TTF font. You'll have to restart Reports Server after this.
    If printing to the printer directly is an option you must have, I will tell you it does not work in Linux right now. You can print to the printer but if the font doesn't exist on the internal memory of the printer, it won't work. There are 3rd party utilities like ORARRP and PDFPrint that can take care of this but, each has its own limitations. The one thing I found with ORARRP is if you generate a Report with an RRPA file extension and open it on Windows, it works great, the printer dialog comes up asking you what printer you want to print too. However, if you call this in Linux/Unix with the filename, it brings it up in the web browser but doesn't prompt you for your printer to print too automatically. So, for me, it's a show stopper. My only other option is to install the fonts on the printer that are missing.
    As for the files you want to change, you'll obviously have to make changes to the formsweb.cfg, default.env, forms.conf. I have to modify the reports.sh for some PL/SQL attached libraries to make sure it picks them up. I did have to modify Registry.dat.
    There is alot of work but mainly forms wasn't too bad, unless you had fonts that weren't supported. Usually there is another font that you can use to replace the old one but you have to know which fonts exists on the server and try all the keys on the keyboard to find the corresponding keystroke.
    Hope this helps.
    Chris

  • Migrating Oracle forms to APEX 3.2 without using Forms2XML tool

    Can we migrate Oracle forms to APEX 3.2 without using Forms2XML tool?

    Hi Anoo,
    In order to convert Oracle Forms to Oracle Application Express, using the Forms Conversion utility in Oracle APEX 3.2, you are required to convert your Forms Module (FMB) files to XML format, using the Oracle Forms to XML conversion tool, Forms2XML. I would recommend that you review Chapter 4 [Converting an Oracle Forms Application|http://download.oracle.com/docs/cd/E14373_01/migrate.32/e13368/appmgr_forms.htm] , in the Oracle Application Express Migration Guide Release 3.2
    If you have any further questions relating to the Oracle Forms to Oracle Application Express conversions, I would recommend that you refer to the [Application Express|http://forums.oracle.com/forums/forum.jspa?forumID=137] forum.
    I hope this helps.
    Regards,
    Hilary

  • Easiest to migrate MS Acess application to Oracle forms/reports

    Hi,
    I have one application in MS Acess I want to migrate it to Oracle forms 10g, is there any easy way to do this job starting from schema creation upto front end.
    Thanks and Regards, Khawar.

    I had a access database solution, but no forms in it, so maybe that was different from yours.The solution I used was:
    Made a button in an access form, and from that buttons event:
    1: Queried all TableDefs of the database
    2: Queried all Columns of each table
    3: Made Create-scripts for those objects (of course substituted the datatypes to an oracle equalient)
    4: Run those create scripts against the OraDB
    That took approx ½-1 hour of coding, but it was faster than creating all the objects from scratch.
    I saw some Non-free software that promised to do this for me, but I don't think any software can convert an Access form to an Oracle Form (if that's what you seek).
    One I found at: http://www.hxtt.com/access2oracle.html (still I think it's only the tables you can migrate)
    Regards,
    Botzy

  • How to Migrate Oracle Forms 4.5 to Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows xx and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks.

    For Forms Upgrade information I would firstly checkout the Forms Upgrade Center. If you don't find your answer there I would post your question to the Forms
    <p />
    Donal

  • Forms 4.5 Migration to Oracle Forms 10g

    Hi All,
    I want to know abt migration steps i.e. i 'm doing migration of Oracle Forms 4.5 to Oracle Forms 10g. Then existing forms is on Windows NT based environment and the database is Oracle 8.
    What is the better way to approach this issue? Whether, directly open the existing Forms into Oracle Forms 10g or first open the form into Forms 6i and then after 10g?
    Tell me the System Specification.... Database version.... Which Application Server is suitable.... And whether the Oracle 9i database possible for Forms 10g or not.
    Pls Give me solution.
    Thanks

    What is the better way to approach this issue?
    Whether, directly open the existing Forms into Oracle
    Forms 10g or first open the form into Forms 6i and
    then after 10g?As Grant said:
    4.5 to 10g (strictly speaking is not supported) but should work ok - Generally speaking you just open your Forms in the 10g builder and compile. You should check out otn.oracle.com/formsupgrade which gives you some good pointers including the Forms built-in procedures that have be desupported and removed from the product.
    4.5 -> 6i -> 10g was the supported route (but even 6i is desupported now).
    >
    Tell me the System Specification.... Database
    version.... Which Application Server is suitable....
    And whether the Oracle 9i database possible for Forms
    10g or not.OAS 10gR2, DB 9i is good.

Maybe you are looking for