ADF- Jdev11.1.1.6 Business Components supports distributed transaction ?

Hi ,
I'm using Jdeveloper 11.1.1.6 release 1 . How to implement distributed transaction in ADF business component level.
In my scenario i need to perform A Single transaction with two different database . I do need to role back both if either one fails (Distributed Transactions) . How could i achieve this in ADF business component. Does ADF has any built-in support for Distributed transactions.
Could anybody advice me .
Thanks in Advanced .

Thanks for your response !!! What is the best alternative i can choose to achieve Distributed Transaction in ADF Application , if there is no inbuilt support for it in BC?
Edited by: 994058 on Mar 15, 2013 7:16 AM
Edited by: 994058 on Mar 15, 2013 7:18 AM

Similar Messages

  • ADF BC Support  Distributed  Transactions?

    Hi ,
    As my subject! I have two DataBase in my Fusion Application , ADF BC Support Distributed Transactions? How TO do this ?
    Can you give me any advice ? thanks!!
    Edited by: Shaowei.Zhang on 2010-9-2 下午8:23

    Hi,
    I see a bug filed to get documentation and clarification about this. I don't think ADF Business Components itself can do this using the JDBC URL connection. If then I imagine this to be doable using JDBC data sources. However, I am surely not the experts in this.
    Frank
    Ps.: The documentation bug has been filed recently and is in an internal review state

  • Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?

    hi,
    Is HS Generic Connectivity(db2/400 odbc) supports Distributed Transaction?
    I am getting an error as follows
    "ORA-02047 cannot join the distributed transaction in progress" when i am trying a transaction, which is inserting in to db2/400 and updating in Oracle.
    if it does not support this, what is the best way
    to do such things using generic connectivity.
    (eg. by committing each sql statement ?)
    my db is oracle 9i 9.2.0.4.0
    remote db is db2/400 connected with client access ODBC.
    Thanks
    BA

    Hi,
    one of the restrictions of generic connectivity is, that distributed transactions are not allowed.
    See manual: 7-6 Oracle9 i Heterogeneous Connectivity Administrator's Guide
    - Generic Connectivity agents cannot participate in distributed transactions; they
    support single-site transactions only
    So you can only commit after each statement or you have to use the GATEWAY

  • Is Oracle Business Components supported by IAS 10.1.3 ?

    I have an application that uses JBO (also known as Oracle Business Components) for the persistance layer.
    I am doing an evaluation of this technology and I want to find out if this will be supported by Oracle App Server 10.1.3 as well ?
    thanks,
    Amogh

    No, I am not referring to the BC tester.
    There is actually a UI available in 10.1.2 that I use for Oracle Business Components (JBO) that creates the XML and Java interface classes for the VO's and other aspects of the JBO framework automatically.
    I was unable to find this UI in JDev 10.1.3. That was what I was referring to.
    Has Oracle Business Component (JBO) now been renamed ADF Business Component ?
    thanks,
    Amogh

  • How to load data from XML DOM into tables using Business Components

    <p>
    Hi,
    </p>
    <p>
    I need to upload XML file (it&#39;s not a problem) an load data (DOM tree) from this file into relationan tables. This filelooks like this:
    </p>
    <p>
    <font face="courier new,courier" size="2">&lt;Departments&gt;
       &lt;Department&gt;
          &lt;DepartmentName&gt;OPERATIONS&lt;/DepartmentName&gt;
          &lt;Localization&gt;BOSTON&lt;/Localization&gt;
          &lt;Employees&gt;
             &lt;Employee&gt;
                &lt;LastName&gt;TURNER&lt;/LastName&gt;
                &lt;Job&gt;SALESMAN&lt;/Job&gt;
                &lt;Manager&gt;7698&lt;/Manager&gt;
                &lt;HireDate&gt;1981-09-08&lt;/HireDate&gt;
                &lt;Salary&gt;1500&lt;/Salary&gt;
                &lt;Commerce&gt;0&lt;/Commerce&gt;
             &lt;/Employee&gt;
          &lt;/Employees&gt;
       &lt;/Department&gt;
    &lt;/Departments&gt;</font>
    </p>
    <p>
    Is there any Business Components support to obtain this ? What about primary and foreign keys values (there is no in XML file). How to place this XML data in appropriate tables ?
    </p>
    <p>
    Kuba 
    </p>

    Pl post details of exact OS and database versions, along with a sample of the XML file and description of the tables. What have you tried so far ?
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005614
    HTH
    Srini

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server

    Hi,
      I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
    Application Module is configured with a Service Interface for ordinary ViewObjects.
    Now I want to create a EAR file of this application to deploy it on the weblogic server.
    But I got an error while deploying it.The error i am getting is shown below.
    ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    I have followed the steps mention in the below link :
    http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
    I'm using Jdeveloper 11.1.2.4 on windows.
    Please suggest what i could be doing wrong.
    Regards,
    Himanshu

    Does the deployment profile include Java EE modules?
    Refer
    Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto…

  • ADF Business Components - Cascading Tables

    I am using Oracle Jdeveloper 11.1.1.4.0
    I have tried an approach to cascade two tables using ADF Business Components.
    A single column is declared as Foreign key.
    I have used 2 drop downs. During the value change of the first drop down, the values of second sholud be populated from data base.
    How to achieve this using cascading tables.
    Kindly help.

    Hi,
    For creating cascading(dependent) LOV in adf,list of values in ADF Application using BC4J as model.please follow below links,
    https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    http://mjabr.wordpress.com/2011/04/01/cascade-list-of-values/
    Best Regards
    Siva Sankar

  • Adf business components n Ejb Concepts

    peoples. sorry for asking this silly doubts.
    reason behind this question.
    most often use the adf business components i doesnt know it. but now i am learning with help experts blogs. In some blogs, peoples using Ejb concepts.
    but ,some what i know ejb.
    My doubt:
    for desiging an transaction oriented projects. and multiple peoples work on my form.
    what should i use.
    ejb or adf business componets. which is suitable for the transaction orientation.
    please guide me.....

    Either is suitable for transaction semantics.
    Which one you choose would likely depend upon your background. If you are already well versed in EJB/JPA, then you would follow that approach. If you are already versed in ADF BC or Oracle Forms, then ADF BC would be a logical choice. I will also say that Oracle seems to have invested more effort in the ADF BC side of things, so if you are still undecided, then maybe that observation can sway you to the ADF BC side.
    john

  • ADF Business Components from Tables - adding more tables

    Hi.
    I have already created a ADF Business Components from Tables and added tables from the Oracle database.
    My question is:
    Is it possible to add more tables to the same Business Components model?
    Not as a new Component Table, but with the same tables so i can use the same relations and mappings?

    Hi and thanks! Yes, I am talking about recreating a the same View Object that i already has created. In my first model i had the tables Name and Address. I want to add a new table called zipcode to the same View som i can choose colums from the zipcode-table in the same View as Name and Address.
    I'm not shure what you mean by Data Model tab? Can you spesify?
    Thanks!

  • Where to learn ADF business components??

    hi,
    can you please share a link regarding about using adf business components references. any ebook or book titles would also be appreciated. :D
    regards,
    simon
    Edited by: 848858 on Apr 24, 2011 3:27 AM

    Also this book:
    http://blogs.oracle.com/grantronald/2011/01/learning_adf_and_jdeveloper_is_a_top_seller.html
    Regards
    Grant

  • ADF Faces & business components application crash

    My application crashes with the following stack. Any idea what's causing this?
    06/05/15 17:38:09 Exception in thread "Reference Handler" java.lang.NullPointerException
    06/05/15 17:38:09      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:123)
    06/05/15 17:38:09 <3>[2785] (0) DCBindingContainer.internalRefreshControl(2311) **** refreshControl() for BindingContainer :effectenPageDef
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Process exited with exit code 128.
    Thanks,
    Andrej

    May be this additional info helps pinpointing:
    I work with JHeadstart (10.1.3.0.59) and JDeveloper 10.1.3 SU3 and generated default pages on top of two ADF Business Components. No customization done yet. One jspx page works nicely, wheras the other also gives me:
    Fatal error: Cannot find class java/lang/StackOverflowError
    Fatal error: Cannot find class java/lang/NullPointerException
    In the Embedded OC4J server log.
    The only difference between the two Entity Objects and View Objects is the size of them:
    - the working EO/VO page contains 38 attributes (yet, still have to tune and remove unnecessary attributes)
    - the other, error-giving EO/VO page contains nearly 60 attributes (same comment here on the tuning part).
    So, is it possible that the number of attributes and therefor the size of jspx pages can cause these Fatal errors? The JRE seems fine, since some pages work, others do not.
    Toine

  • Modifying SQL used by ADF Business components

    How can we modify the query used by ADF Business components that are generated from database tables by dnd in JDeveloper?

    I would like to change the where clause at runtime based on some configuration that can be changed while application is up and running. Can I just over ride the getWhereClause of the ViewObjetcImpl for that?

  • What are ADF Business Components??

    ADF BC is running in my mind
    Can anyone tell what do they look like??
    are they different from any of the components which we develop such a EJB or any JSF components??
    revert back ASAP

    ADF Business Components is enhanced in 11g, but it is production now in JDeveloper/ADF 10.1.3.
    The ADF Learning Center [http://www.oracle.com/technology/products/adf/learnadf.html] has our latest resources for enterprise 4GL Developers getting started with Oracle ADF. This includes the complete ADF Developer's Guide for Forms/4GL Developers [http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html], a companion sample application [http://www.oracle.com/technology/products/jdev/samples/srdemoadfbc.html], and a companion step-by-step tutorial [http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/10131/index.htm].
    To complement the free Developer's Guide from Oracle, you might be interested in the Oracle Press title Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF [http://www.amazon.com/Oracle-JDeveloper-Forms-SQL-Developers/dp/0072259604].
    There is an instructor-led course for Oracle ADF For Forms/4GL Developers [http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D18384GC10&p_org_id=1001&lang=US&source_call=].
    Potentially of interest to any former Oracle Forms or Oracle Designer user is the additional Oracle JHeadstart for ADF [http://www.oracle.com/technology/consulting/9iServices/JHeadstart.html]extension for JDeveloper. This is a complete web-tier page generation solution that has its own step-by-step tutorial [http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html?_template=/ocom/technology/content/print] so customers can evaluate whether it might benefit their developer productivity. The JHeadstart Features/Benefits document is here [http://www.oracle.com/technology/consulting/9iservices/JHeadstart%20White%20Paper.pdf] (pdf).
    The OTN J2EE for Forms Devs [http://otn.oracle.com/formsdesignerj2ee] home page has additional resources of particular interest to Oracle Forms developers.
    Last but not least, the JDeveloper OTN Discussion Forum JDeveloper and ADF is a great resource to ask JDeveloper/ADF questions of your peers and Oracle employees working on/with the technology.
    Hope this helps

  • Best Practices ADF Business Components

    Hi all,
    I'm reading the Dev Guide of ADF Business Components, and I've some questions:
    a) In the business tier, Which is the best way to create new rows in the db? I've found two ways: Using a ViewObject and then call create and insert or using the EntityDefinitionImpl object and call the createInstance2 function.
    b) In the business tier, which is the best way to search for a row in the db? I've found two ways: Using findByKey on the ViewObject or using the findByPrimaryKey on the EntityDefinitionImpl object.
    Thanks!

    Hi,
    a) use a ViewObject
    b) also I would think its the ViewObject
    Frank

Maybe you are looking for

  • Unplanned Delivery costs in MIRO for different Vendor

    I have an annual PO and I invoice it with normal MIRO transaction. At the same time I have one service which I want to be a unplanned delivery cost for this PO. This service will be assigned to the material account and it is for a different vendor. C

  • Problem with the Mac OS Mavericks recovery

    I recently purchased Macbook pro and updated OS X Mavericks on it. I also installed Windows 8.1 on it as i am a developer and also a student in University i need to work on different OS. So i used Boot Camp to install Windows 8.1 on it. Recently i tr

  • Voice Control and Pronounciation

    I speak spanish and I use VoiceControl regularly... but I have friends with names that are pronounced in english. For instance, Jenny I have to call her Heni for the voice control to work. How can I solve this without changing the way the name is spe

  • Creating simple Business Rules in BPEL process

    Hi, I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development. Scenario I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's Inpu

  • Previously viewed items in a web search are no long highlighted

    When I do a google search, or search of any kind, previously viewed items are no longer highlighted. I have no way of knowing which items I have already viewed. == This happened == Every time Firefox opened == July 8, 2010