Oracle forms vs ADF transaction scopes

In Oracle forms, we tend to build a form for each atomic business function that we want to implement. When we commit or rollback, we are generally affecting this function. In Oracle ADF/BC JSF, we build an application modules that tends to encompass several entities and different pages implementing many different business function. Issue a rollback or commit in ADF affects all the components within this applicatons module. This is making development tendious with respect to catering for controlling CRUD management. For example using a cancel button that rolls back Ins/Upd/Del operation for a specific page is be tricky as a rollback cancels everything. What are best practices with this respect. It would be a waste to create an seperate application module for each what resembles a form!
any ideas

Hi,
have a look at
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.BABEAJJA/vtTopicFile.bcadfdevguide%7Cbcstatemgmt%7Ehtm/
and read about the savepoint functionality
Frank

Similar Messages

  • How to convert oracle forms to adf

    I want to convert oracle forms to adf
    Edited by: user4435615 on 2013-3-22 下午8:23

    ADF Equivalents of Common Oracle Forms Triggers
    http://www.oracle.com/technetwork/developer-tools/jdev/index-092937.html
    Case Study: Redeveloping an Oracle Forms application using Oracle JDeveloper 11g and Oracle ADF 11g
    http://www.oracle.com/technetwork/developer-tools/jdev/redeveloping-forms-in-adf-11g-1-133095.pdf
    Migrating Forms to Java or ADF, the truth and no FUD
    https://blogs.oracle.com/grantronald/category/Oracle/Oracle+Forms+to+ADF
    Timo

  • Integration oracle forms with ADF

    Hi
    Please provide me the steps for integration of oracle forms with ADF or any live example.
    It is very urgent. Please help...

    Hi,
    Please watch the below video. This will help you to get started .
    ADF Insider - Redeveloping and Oracle Forms Application using Oracle ADF

  • Calling Oracle Forms from ADF - refresh problem makes it unusable!

    Hi everybody!
    I'm using JDeveloper 11.1.1.4.0 and I need to call an Oracle form (Forms 10g) inside my ADF application. I did exactly what explained in the Oracle doc at this link
    http://www.oracle.com/technetwork/articles/adf/wilfred-adf-forms-099635.html
    and it works fine. I've put the code inside a region that is in a tab page of my ADF application. The problem is that EVERYTHING I do outside that form (changing tab page, pressing a button,...) makes the page refresh and my form resets (actually it's the applet that reloads).
    How can I avoid this? Is there any way to make the form stay alive even if ADF events trigger? As it is now launching a form inside ADF is completely useless.
    I posted this question also in the JDeveloper forum but nobody is answering so maybe here someone can help.
    Thanks in advance for any suggestion
    Roberto

    In Forms 11g, you can set the following parameter in the Forms Server's formsweb.cfg configuration file "legacy_lifecycle=true", which will prevent the applet restarting when the ADF pages are in between page loads. However, I dont know if this exists in 10g Forms. Give it a try.
    Thanks,
    Gavin

  • How can integrate/call the Oracle Forms in ADF pages or task flow.

    Hi ,
    I Have requirement to integrate the ADF and EBS.
    I have done the ADF pages calling in ESB.
    Right now i am struck up to call the OAF froms in ADF page/taskflow.
    it's high appriciate if any one provide me the any info or how to do this requriment.
    Thanks,
    Madhava.

    Hi,
    Forms integration can happen using af:inlineFrame or by a redirect to a Forms web URL. In the latter case navigation should be from an unbounded task flow ensuring the return address required to resume the ADF application is provided. See: https://blogs.oracle.com/jdevotnharvest/entry/how_to_efficiently_redirect_an for how to construct the return URL
    Frank

  • Best Practices for BI, ADF and Oracle Forms installations on Weblogic

    Hi, I'm researching options on upgrading to Oracle 11g Middleware. My company currently has Oracle Forms 10g running on Oracle Application Server.
    We are interested in using Oracle Forms 11g, ADF and Jdeveloper, and Business Intelligence with Oracle's Weblogic 10.3.5.
    Is there any whitepapers or documentation on best practices for installing alll of these components together?
    For instance, can ADF ( with JSF 2.x ) be installed in the same domain as Oracle Forms 11g but use different managed servers?
    Will Business Intelligence need to be in a seperate Oracle Home with it's own weblogic installation? I spend a lot of time trying to get the JSF upgraded to 2.x in the Business Intelligence installation and could not get it to work.
    I know it's a pretty broad question but thank you for any direction on this.

    Thanx for the reply! I read through the documents and they are very good at explaining how to install the different components individually. I still can't find much on installing them together. I hope it's not just going to be a trial and error thing.
    So far I've installed done the following successfully:
    Installed 10.3.5 weblogic
    Forms and Reports 11g on top of 10.3.5
    I've created an additional managed server for our ADF applications.
    My next step is upgrading the JSF to 2.x. I would have to stage patches 12917525 and 12979653. I'm afraid it will break the forms and reports though. Any ideas?

  • Getting tha java script error while calling OAF forms in ADF

    Hi ,
    I am trying to get/access the Oracle forms in ADF page.
    I am following http://static.commit-consulting.com/oraformsfaces developers guide for guidlines.
    while runnign my page getting the error in popup look like java script error.
    the pop up contente is :
    Failed to execute java script
    Check for JavaScript errors, if the Forms server is running and if your browser can download a javaScript from http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces
    http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces is my server EBS server where oracle forms exist.
    Please help me on this.
    Thanks,
    MadhavaReddy

    You're probably better off asking the OraFormsFaces people for help

  • Getting error while accessing the OAF forms in ADF page.

    Hi ,
    I am trying to get/access the Oracle forms on ADF page.
    I am following http://static.commit-consulting.com/oraformsfaces developers guide for guidlines.
    while runnign my page getting the error in popup look like java script error.
    the pop up contente is :
    Failed to execute java script
    Check for JavaScript errors, if the Forms server is running and if your browser can download a javaScript from http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces
    http://bdc6oracle001.gdnindia.com:8005/forms/frmservlet?config=OraFormsFaces is my server EBS server where oracle forms exist.
    Please help me on this.
    Thanks,
    MadhavaReddy

    You're probably better off asking the OraFormsFaces people for help

  • Sharing Weblogic instance with Forms and ADF apps

    We have both Oracle Forms and ADF (10.1.3.4) apps that we are planning to deploy to Weblogic. We are looking for the best approach for the architecture. Our user base is small (30-50 users) and the concurrent demand will be low as well.
    Options we are considering are:
    1. Two separate Weblogic servers, one for Forms and one for ADF
    2. One WL server with 2 domains, one for Forms and one for ADF
    3. One WL server and 1 domain serving both Forms and ADF. We'd probably create the domain for Forms initially then deploy the ADF apps to it as well as the ADF runtime libraries.
    Are there any tips as to what we should consider in making our decision?

    1. Two separate Weblogic servers, one for Forms and one for ADF
    this will actually segregate the applications.. both application will work independently.. still have to consider about the memory leaks as running two separate servers will take lot of resources.. no common library files access..2. One WL server with 2 domains, one for Forms and one for ADF
    rather good approach..works well.. still each will work independently.. no common library dependencies..3. One WL server and 1 domain serving both Forms and ADF. We'd probably create the domain for Forms initially then deploy the ADF apps to it as well as the ADF runtime libraries.
    both application can refer to common libraries..

  • Problem in concurrent update in ADF BC (compare to oracle forms)

    Hi,
    I am using JDeveloper 10.1.3.3.
    I created a simple form on EMP table using JSF/ADF BC template and then I browsed the EMP form with 2 separate browsers.
    Both browser were on the same record (for example SMITH record). I changed the value of salary in one browser and commit the change. Then, in the second browser I changed the value of salary to something else and commit. As I expected I got JBO-25014: RowInconsistentException. (a similar error was shown when we used Oracle Forms and updated one record from 2 separate sessions).
    I pressed the commit button for the second time and surprisingly enough,the changes committed successfully !!!
    In oracle Forms you had to re-query to be able to change when an error like this happened and normally it should be the same in ADF BC. The strange part is that the framework detects that the record has been changed and prevents committing operation but just for one time!!!
    I tried locking mode to both optimistic and pessimistic but there was no difference.
    Is it any way to achieve the same functionality we had in oracle forms in the past?
    Any help would be highly appreciated.
    Thanks in advance,
    Navid

    Hi,
    I think this can be explained the best with the fact that the web is stateless. If you mark a record for update, which you do when you submit it. Then it should get locked in the database. After commit you release the lock and whoever wants to override the value you put in can do this. I don't think that a lock should be released only if a user re-queries the data. You can code this in though: just requery the records on error
    Frank

  • Request for Oracle forms & Reports 12c: Free runtime in GlassFish like ADF

    a) FREE RUNTIME LICENSE IN GLASSFINS FOR ORACLE FORMS & REPORTS IN GLASSFISH
    Hello, we are Oracle Partners and we are using oracle since Oracle 7.3.4.
    I remember a beta of Oracle Forms, having the functionality to set properties in all objects, just like Visual Basic, including lines, etc. But that beta was rejected and I see Oracle had leave Oracle Forms as just a database client.
    In this moment there is a free light version of ADF.
    I will like you think in that possibility.
    Think in this, if you want to program a small software, I mean 20,000 U$, and the runtime is 40,000 U$, then this doesn't makes sense.
    Oracle is pushing small customers toward Visual Studio,
    I think the idea of a free runtime will benefit Oracle in two ways.
    For a 20,000 U$ software or less, you but Visual Studio, Sql Server 2012 is enough, not as Oracle, but is enough for that small softwares,
    this means if you give a free runtime of oracle forms & reports (like adf is doing)
    1) you will win selling development licenses and 2) selling Oracle Standard One licenses.
    If you don't do you will lose developement licenses and Oracle will continue losing the small databases market, because this is not like 10 years ago, Sql Server and other databases had improved, and the hardware too .
    2) THE DEVELOPMENT OF A LINUX MORE EASY TO INSTALL & AN EASY DESKTOP FOR THAT LINUX
    The other point I want to give feedback is linux, it's too related to oracle forms & reports improvements for small business
    Is the development of an easier Linux, to use 1) for development 2) for production.
    In the same way you don't wait 60 seconds in a normal web page to load, people don't like Linux because is not like Microsoft Windwos or Macintosh; so if Oracle wants to move to people to use linux to use Oracle Forms or Oracle Database, I think Oracle must create a more simple and tested installation for both customers and developers,
    - less is more, so the installation must have only what normally is needed.
    - you should not need to use command line for most operations, this should be an exception, normal users must do things by themselves.
    Thank you for your time

    I don't know that it will break things, but I can say that the safest thing to do would be to use separate WLS installations for each product. This may sound like overkill, but each product (ADF, Forms/Reports) have their own idiosyncrasies and requirements with respect to versions and patching, and trying to mix and match them in the same WLS installation is not, in my opinion, something that's worth undertaking.
    I have the very setup I describe (separate WLS installations for ADF apps and Forms/Reports apps), and it's working with no problems.
    Regards,
    John

  • Oracle Forms equivalent operations in Oracle ADF

    I need to know whether there are equivalent operations in ADF corresponding to these operations in Oracle Forms
    System.Current_block
    System.Current_record
    System.Current_form
    etc...

    As a mechanism to working out how ADF works, a suggested read is the Fusion Dev Guide: http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/toc.htm
    Once you've done this, as extension the dev guide has appendixes "F - ADF Equivalents of Common Oracle Forms Triggers" & "G Performing Common Oracle Forms Tasks in Oracle ADF" for assisting Forms programmers in moving to ADF, a feature/mind map as you will.
    However as Vinod says, don't make the mistake of thinking ADF is similar to Forms in its implementation. While Forms and ADF attempt to achieve similar results (ie. applications querying data from a db and showing to the user to view or edit), they do it in totally different technologies.
    CM.

  • Developering ADF form in query mode (Oracle forms simulation)

    Hi,
    we have a requirement for developing the existing Oracle form using Oracle ADF. The existing Oracle form displays the form in query mode by default. We can enter the search criteria in any of the text fields and then execute query to get the results. If the user does not enter any search criteria, then the form loads specific record based on default criteria into the form. Could you please help developing similar form using ADF.
    At present I created the view object with one bind variable and dragged the view as ADF form to the jspx page. Then I am launching the form in query mode (executing the find method on the view object using operation binding at the time of loading the page). After entering the query criteria in the form, If I click on a button I am executing a method in the managed bean. In the managed bean I am executing the "Execute" operation on the view and it is working fine.
    But my problem is if the user does not enter the search criteria I have to pass default parameters to the view object and return the default record in the form.
    Can you please help in resolving the issue.
    Thanks and Regards,
    S R Prasad

    Hi Frank,
    Thank you for providing information. I created the query panel with the table by dragging all the named criteria. But this is not the look we are expecting for this form. As we have to deveop ADF form with the same behavior as oracle forms, the user must be in a position to edit the data in the same field as that of query field.
    As an example, we have to design a form for Dept table. We have to display all the columns of the dept view in the form at the time of launching the form in query mode. Once the user enters any search criteria in the form, we have to perform search and display the record(s) matching the query criteria in the same columns displayed in the form. User should not see any changes in the form layout.
    If the user does not enter any data in the form, then we have to display the record(s) in the form with the specific department id(This department id can be calculated based on the data in another table).
    Can you please help us in resolving the issue.
    Thanks and Regards,
    S R Prasad

  • How to Call Oracle Form From Oracle ADF

    Hi All,
    Version - Oracle Jdeveloper 11.1.1.5
    In Oracle Adf - when i click on Button how to call oracle form?
    Please help....
    Thanks..
    Sk

    And there is a tool called oraFormFaces that has some advanced linking api to access forms etc. Do a google search to find info on this.

  • How to Create a ADF Form same like in Oracle Forms

    Hi,
    I need to create a Form in ADF where in on the top I have two text fields with LOV and one Text with out LOV and a button. Selecting values from the first two should populate the value of thid text
    and pressing the button should actually populate the fields below.
    Below I have several other fileds of which few are queried from the database and other are calculated fields (aka like control fields in Oracle Forms).
    Now I am a Forms Developer and know quite a few things in ADF as well, like creating Master Details Forms and some of the work flows. Some basic functionaliy.
    I want to make an attempt to create something like this which is created in Oracle Forms.
    What I have tried as of now is create a query and added LOV to first Text. Displayed all the fields as ADF form and on top I have put a ADF Query panel , using this I am able to populate few of the columns.
    Can someone tell me what is the best way to do the things which I have mentioned.
    TIA

    Hi,
    If your need is to auto populate other employee fields of the page based on previous 2/3 fields like deptno, empno, loc, then you can achieve this with button action listener. You can add runtime bind variables to your view object and set them with user input values and execute query.
    for e.g, you can add below code in your AMImpl class and expose it to UI and invoke it from UI (from page, create a managed bean and call AM method)
    /***** Sample code only*****/
    public void refreshVO(Integer EmployeeNo, Integer DeptNo, Integer locNo)
    ViewObject vo = this.getEmployeeVO();
    vo.setWhereClause(null);
    vo.setWhereClauseParams(null);
    //Adding empNO where clause
    vo.setWhereClause("employeeno = :empNum);
    vo.defineNamedWhereClauseParam("empNum", null, null);
    vo.setNamedWhereClauseParam("empNum", EmployeeNo);
    // similarly add logic for DeptNo, LocNo and you can additional check if they are null or not null
    vo.executeQuery();
    Regards,
    Ravi Nuka

Maybe you are looking for

  • Opening a .html in workbench gives 'Null' error message

    Hi, I am using MII 12.1.9 Build(108). When I double on a .html object, it gives a 'Null' error message and doesn't open the file. Then if I am right click on that file and click on 'Open' it opens up. Is there something wrong? Regards, Chanti.

  • Service Tax Availment

    Dear Sir, We are facing one problem related to Service-Tax Availment as per below details : Say we place the Purchase Order for some Service and Vendor submitted the Invoice after the Service Execution . Just After the MIRO , the  Service-Tax is gett

  • Convert weblogic.properties

    All, I'm trying to convert an existing 5.1 installation to 6.0 and am having a bit of difficulty with creating a new config.xml based on an existing weblogic.properties. Has anyone gone through this process yet? The documentation seems vague and inco

  • Call a portal component from a Command IU Java Class

    Hello, Please, how can I do to call a portal component from my Command IU Java Class? Thanks & Regards, Hassan

  • Ipod touch froze on apple screen with little wheel

    I have an 8gb ipod touch that is froze on the apple screen with the little wheel. I have tried to restore and update thru itunes but nothing happens. Is this fixable? Can anyone please help?