Is there any sample RMI-IIOP application using distributed transactions

Hi,
Based on the links below:
http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
It appears that is possible to have distributed transactions across RMI-IIOP
clients and RMI-IIOP applications (servers).
I am surprised by the note:
Note: These code fragments do not derive from any of the sample applications
that ship with WebLogic Server. They merely illustrate the use of the
UserTransaction object within an RMI application.
The above note suggests that there is no sample code available.
Is there any sample code that illustrates RMI-IIOP applications (servers)
participating in distributed transactions?
Regards,
Dan Cimpoesu

Transaction examples for IIOP are in the works for the next release.
"Dan Cimpoesu" <[email protected]> wrote:
Hi,
Based on the links below:
http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
It appears that is possible to have distributed transactions across RMI-IIOP
clients and RMI-IIOP applications (servers).
I am surprised by the note:
Note: These code fragments do not derive from any of the sample applications
that ship with WebLogic Server. They merely illustrate the use of the
UserTransaction object within an RMI application.
The above note suggests that there is no sample code available.
Is there any sample code that illustrates RMI-IIOP applications (servers)
participating in distributed transactions?
Regards,
Dan Cimpoesu

Similar Messages

  • Is there any sample Android Native App using MBOs?

    We are building a native android application using MBOs (SUP 2.1 ESD#2).
    We are able to register the user but not able to synchronize. We are following the "Developer Guide: Android Object API Applications"
    Is there any sample android native application for this scenario?  Only sample available now uses OData SDK.
    Thank you
    Regards
    Jeyaram

    Transaction examples for IIOP are in the works for the next release.
    "Dan Cimpoesu" <[email protected]> wrote:
    Hi,
    Based on the links below:
    http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
    http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
    It appears that is possible to have distributed transactions across RMI-IIOP
    clients and RMI-IIOP applications (servers).
    I am surprised by the note:
    Note: These code fragments do not derive from any of the sample applications
    that ship with WebLogic Server. They merely illustrate the use of the
    UserTransaction object within an RMI application.
    The above note suggests that there is no sample code available.
    Is there any sample code that illustrates RMI-IIOP applications (servers)
    participating in distributed transactions?
    Regards,
    Dan Cimpoesu

  • Transactions Sample RMI-IIOP Code

    Hi,
              Looking to the link below it appears that we can have RMI-IIOP applications
              and clients that use JTA.
              http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
              Does anyone know of a RMI-IIOP sample that illustrates how transactions are
              propagated from RMI-IIOP clients to RMI-IIOP applications?
              Regards,
              Dan Cimpoesu
              

    But if you look to the diagram:
    http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1040200
    it suggests that transactional context is passed from clients to RMI-IIOP
    servers.
    Am I wrong?
    Dan
    "Andy Piper" <[email protected]> wrote in message
    news:[email protected]..
    "Dan Cimpoesu" <[email protected]> writes:
    Transactions over IIOP are not supported or implemented in WLS 6.1 or
    previous. This is a feature of WLS 7.0. In 7.0 we implement OTS.
    andy
    Hi,
    Based on the links below:
    http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
    http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
    It appears that is possible to have distributed transactions across
    RMI-IIOP
    clients and RMI-IIOP applications (servers).
    I followed up the "Transactions Sample RMI Code" section but it appearsthat
    the transaction context is not propagated from client to server. I amalso
    surprised by the note:
    Note: These code fragments do not derive from any of the sampleapplications
    that ship with WebLogic Server. They merely illustrate the use of the
    UserTransaction object within an RMI application.
    The above note suggests that there is no sample code available.
    Is there anyone who successfully had RMI-IIOP applications (servers)
    participating in distributed transactions?
    Is there any sample code that illustrates RMI-IIOP applications(servers)
    participating in distributed transactions?
    If anyone thinks that this should work I will post my code that does not
    work.
    Regards,
    Dan Cimpoesu

  • Is there any sample for authorization?

    Hi
    Thank you for reading my post
    is there any sample that shows how we can use authorization from by using client SDK?
    any hint is very welcome.
    Thanks

    Hi there
    Under 7.1 on linux you get :
    [rui@server samples]$ pwd
    /home/rui/SOFTWARE/AM/samples
    [rui@server samples]$ ls
    README
    [rui@server samples]$
    and reading READMe you get this :
    The latest binaries and the associated instructions for how to use
    the OpenSSO samples can be obtained from the following location:
    http://download.java.net/general/opensso/nightly/amserver/latest/
    There are two sample zip files:
    openssosamples.zip -
    opensso_server_samples.war -
    Unfortunatly, these files are not there, nor is that URL correct....
    Anyone know where I can get my hands on these files?
    Rp

  • Is there any sample ear file

    is there any sample ear file which contains web application and ejb application together? and it have to work under the weblogic, thanks for your help.

    The directory %BEA%\weblogic81\samples\server\examples\src\examples has exmple applications including jar files and build files to generate jar files.

  • I downloaded Trial version of Photoshop CS 6 - Now it has expired , i don't have serial key . Is there any way I still can use Photoshop Cs 6 ?

    I downloaded Trial version of Photoshop CS 6 - Now it has expired , i don't have serial key . Is there any way I still can use Photoshop Cs 6 ?

    What csuebele said, or download and install it as a trial on a different computer.

  • It there any app where i can use my existing account balance to in-app purchase a gift card?

    it there any app where i can use my existing account balance to in-app purchase a gift card?
    there are itunes gift credit remaining in my account, but i an trying to transfer it to another account, so if there are app that allow me to in-app purchase giftcard, then i can indirectly transfer the credit into my another account.
    is there anyone can help me with this question, or have a better idea
    thx a lot!!

    Skydiver119 Thank you, like I said new to the use of tablets but enjoing them vey much, thanks again will be adding some apps and iBooks to my iPad JoeNamath9

  • It is said that iphone A1387 is world phone. But what i got is a cdma phone without sim slot ? Is there any way it can be used on the GSM network,it is on IOS 6.1.3

    It is said that iphone A1387 is world phone. But what i got is a cdma phone without sim slot ? Is there any way it can be used on the GSM network,it is on IOS 6.1.3

    No, if it doesn't have a sim slot. However, the model number you posted is for a Verizon iPhone 4S. That model does have a sim slot, & if Verizon unlocks the sim slot, it can be used on GSM networks outside of the US.

  • S there any Utility industry company is using PP-production planning & exec

    ear All,
    Is there any Utility industry company is using PP-production planning & execution module and CO-PC product costing module ??
    Meaning.. any Power generation/Transmission/distribution or water production/Transmission/distribution company is using SAP PP or APO for their operation business processes.
    Our client is actually an integrated Utility having very much integrated product lines like Processed Sea water for cooling, Process water for Industries, Potable water & Power for the communities/ industries.
    Please let me know.. as we are planning to implement the PP and CO-PC for product costig..
    As I know Tata chemical, Gujarat-India is using SAP PP module for their captive Power generation.(I have worked there as SAP CO consultant). But there is no transmission and distribution as such.
    But production processes are covered by PP and product costing CO-PC is also implemented and it is giving very accurate cost per unit both for plan side and actual side.
    regards,
    George

    Hello George,
    I would not be able to provide you much detail about the PP solution as I was taking care of the controlling part. The BOM of power and water were defined as you have mentioned only thing we had additionally was Gas was also mentioned in the BOM since we had 6 gas turbines. But all of them were mentioned as not relevant for costing. So there was no cost being calculated from the material side. We had formula planning template (CPT1) that used to calculate the costs under the following heads which were defined as activity types.
    a) Gas
    b) Employee Costs
    c) Consumables / Supplies
    d) Operating Expenses
    e) Depreciation
    These components were planned at a initial price in KP26 and the quantity for them (except Gas) was units of power generated (for cost component it was 1 MW and for actual based on the quanity in the product cost collector). Power cost estimate used to be created at the begining of each period with help of this template and per MW cost was used in valuating the power generation in each of the product cost collectors (the turbines were defined as separate work centers as well as product cost collectors).
    In the actual execution the power material used to be generated in all the product cost collectors and the usage of gas was confirmed. The template used to be executed in the month end (CPTA) and the same would allocate the costs posted in the power generation cost center to the product cost collectors (the amount would be the power units generated multiplied by the rate mentioned in KP26 for Employee Costs, depreciation etc. and for gas it would be Gas units consumed multiplied by the rate mentioned in KP26 for activity Gas). The power material generated would then be issued to the generation cost center along with the usage of gas for power as well. The next step is execution of the splitting transaction which would allocate the amount posted in the cost center to the various activities and then the actual price calculation would be carried out for the activities and the product cost collectors get revalued with the actual price. Upon settlement of the product cost collector to the generation cost center you would have the power material issue cost + settlement account. The amounts posted in these two accounts would be transferred to the water cost center using a assessment cycle with SKF that mentions the usage of water in power and another assessment cycle taking the costs in water cost center with help of SFK that quantifies usage of water in power. Now the power material cost + settlement amount - sent to water + received from water is sent to another cost center called power - distribution and from there the amounts including any distribution costs booked therein is transferred to other user cost centers using usage units defined as SKF.
    What I feel later is the water activity could have been done before settlement and an activity type could have been defined for that purpose.
    At the moment I can remember this much and would be happy to answer any more query which you may have. That was a good design though it had lot of scope for fine tuning.
    Kind Regards // Shaubhik

  • Is there any Utility industry company is using PP-production planning & exe

    Dear All,
    Is there any Utility industry company is using PP-production planning & execution module and CO-PC product costing module ??
    Meaning.. any Power generation/Transmission/distribution or water production/Transmission/distribution company is using SAP PP or APO for their operation business processes.
    Our client is actually an integrated Utility having very much integrated product lines like Processed Sea water for cooling, Process water for Industries, Potable water & Power for the communities/ industries.
    Please let me know.. as we are planning to implement the PP and CO-PC for product costig..
    As I know Tata chemical, Gujarat-India is using SAP PP module for their captive Power generation.(I have worked there as SAP CO consultant). But there is no transmission and distribution as such.
    But production processes are covered by PP and product costing CO-PC is also implemented and it is giving very accurate cost per unit both for plan side and actual side.
    regards,
    George

    Dear Pavan,
    Thanks for the reply..
    Yes, as you rightly mentioned..It is not very simple...Utility production is bit complicated than normally believed by majority.
    But for captive production of power & water, we had used PP/CO-PC successfully for may be more than 12 years(in tatas)..
    What was done in Tatas, power as a material(finished good) and BOM/ recipe for it in the PP.
    (because we had used PP-PI there) and Power's BOM water is an input material and in Water production BOM power is an input material..i.e recursive BOM and system (PP/CO-PC) will take care this iteration or this give and take.
    And main product was input for itself in its third stage.. And steam is input for itself and input for power/water and opposite also true..
    And we got 5 different steam, like 50 pound, 100, 250 pound ..Still with all these complexities PP/CO-PC is able to give actual cost per unit accurately. So for production/generation standard PP/CO-PC will work fine...we are 100% sure...but for transmission and distribution is there any better way or solution model ??
    But the main thing or the question is that whether you are able to get the actual qty of production consumption in process.
    Then system (PP/CO-PC) will take care this iteration or this give and take.
    And on the actual side of product costing, we have to use the material ledger functionality, wherein we can use multilevel settlement by which we can settle the actual cost variance at each stage of production to the next stage of production.
    But the first reaction, when people hear about utility...it is very very simple...you are only producing one 2-3 final products..only 2-3 technologies involved...
    But reality is quite different...and currently all the major utility company's production processes are outside SAP system, even when they are using SAP for all other functions/departments...but their main function is to produce water/power is outside the system..and like any other company production/generation processes are the most repeated activities in their company.
    And if you see..even two repair works in say SAP PM module processes are different to each other..(still we are using a SAP module-PM for that to have historcial data and to learn from our from experience)
    But production of desalination water from desalination plant is same today, tomorrow...day in ,day out...it is same..
    And if we are saying we cannot co-relate input quantities with output quantities..we are essentially saying we have no control over production processes and we don't want to standardize our most repeated  activity(production)
    Anyway, since production processs is out of the system means, no quantitative data-production related  is available in the SAP system and most of the organisation using excel for reporting of quantitative data-production related..
    regards,
    George

  • Checking is there any standard BAPI  Instead of useing ORDERS05 IDoc

    HI Guys,
    IS there ANy Standard BAPI Instead of USeing Standard  IDOC ORderso5 with same functunality.
    Regd's
    Raj

    BAPI_SALESORDER_CREATEFROMDAT2
    Max

  • I have lost my Macbook Air. Is there any way to track it using its serial number. I did not register it to find my iPhone before.

    I have lost my Macbook Air. Is there any way to track it using its serial number. I did not register it to find my iPhone before.

    If you had no installed http://www.apple.com/icloud/find-my-iphone.html  t
    then no,
    Change any vulnerable credit or bank info that might be got off your macbook.  Have you contacted the authorities about its theft?
    sorry for your loss

  • Is there any standard BAPI to update the standard transaction GS03 ?

    Is there any standard BAPI to update the standard transaction GS03 ?
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 16, 2011 2:02 PM

    hi,
    I think this link will help you to find that.
    list of all bapis:
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Are there any custom built news applications I can use?

    I am trying a build a news application for my organization.  My organization have several sub units that will each contribute their own news.  There will be a single news home page that consumes all these different news based on the day the news article is posted.  Is there any custom apps out there with this framework that I can work from?
    Cheers,
    Alex

    Go to File > New > Blank page > Html > choose a layout from the 3rd column and hit Create button.  Although fairly generic, these are fundamentally sound as starter pages for most projects.
    For commercial CSS Templates that are rock solid and perform well in all browsers/devices, visit Project Seven:
    http://www.projectseven.com/products/index.htm
    Nancy O.

  • How to get InitialContextFactory using RMI/IIOP without using weblogic.jar

    Hi Robert
    I know this is an old post. but I am interested in knowing how to get the
    initial context using RMI/IIOP without the use weblogic specific classes
    like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
    you can provide as an example, it would be just great.
    thanx in advance
    Daya Sharma
    See comments inline...
    Stewart Wachs wrote:
    I would like to get an initial context to Weblogic JNDI from a client.
    code snippet:
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFacorty");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    try {
    Context ctx = new InitialContext(ht);
    catch(...) {
    This works fine when I include weblogic.jar (and other dependend weblogic
    jar's) in the classpath.
    Is there a way to access WL JNDI from a client without the weblogicclasses
    in the classpath?If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
    the
    answer is no, you will need at least some of the weblogic classes on the
    client.
    If not, is there a lightweight jar available for distribution for client
    JNDI connectivity?This is something in the works. In addition, a colleague and I are working
    on
    a white paper that describes the "Thin Client Options with WebLogic Server"
    that we hope to make available in the not too distant future...
    Are there any licencing issues with distributing the weblogic classes to
    clients that need to access WL JNDI?No. WLS is licensed by the server so you are free to distribute
    weblogic.jar
    to your clients.
    Hope this helps,
    Robert

    Take a look at the RMI/IIOP section of our whitepaper "Small Footprint
    Client options for BEA WebLogic Server" at:
    http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
    Daya Sharma wrote:
    Hi Robert
    I know this is an old post. but I am interested in knowing how to get the
    initial context using RMI/IIOP without the use weblogic specific classes
    like weblogic.jndi.WLInitialContextFactory . If you have a code snippet that
    you can provide as an example, it would be just great.
    thanx in advance
    Daya Sharma
    See comments inline...
    Stewart Wachs wrote:
    I would like to get an initial context to Weblogic JNDI from a client.
    code snippet:
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFacorty");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    try {
    Context ctx = new InitialContext(ht);
    catch(...) {
    This works fine when I include weblogic.jar (and other dependend weblogic
    jar's) in the classpath.
    Is there a way to access WL JNDI from a client without the weblogic
    classes
    in the classpath?
    If you are using WLS 6.1, you could use RMI/IIOP to do this but in general,
    the
    answer is no, you will need at least some of the weblogic classes on the
    client.
    If not, is there a lightweight jar available for distribution for client
    JNDI connectivity?
    This is something in the works. In addition, a colleague and I are working
    on
    a white paper that describes the "Thin Client Options with WebLogic Server"
    that we hope to make available in the not too distant future...
    Are there any licencing issues with distributing the weblogic classes to
    clients that need to access WL JNDI?
    No. WLS is licensed by the server so you are free to distribute
    weblogic.jar
    to your clients.
    Hope this helps,
    Robert

Maybe you are looking for

  • External drive on multiple iMac

    If I load all my video on an external hard drive and start editing, can I continue to edit on another iMac with FCE4 if I plug in the same external hard drive? In other words, will I be able to pick up from where I left off?

  • XSL-1009 error in XML to XML using XSL

    I'm using XSL to transform one XML format to another using and XSL transform file. I'm initiating this with ORAXSL in.xml transform.xsl out.xml. The XSL file has in it: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.oracle.com/XSL/Transf

  • Why is my macbook so slow all of the sudden?

    It was running fine, then it froze up. since reboot, it takes forever to get program to start, or use anything.

  • My list of artists not on my Iphone 4s and Ipad

    Hello there,I would like to find my list of artists on my Iphone 4s and my Ipad as it is on my Macbook but I cannot. I have Spotify Premium and I thought I could find the same lists when I sign in but it is not. How can I do, can you help me Please?

  • How do I edit rd3 files in Adobe Premiere Cs5 if I cannot afford to upgrade?

    I'm trying to edit Rd3 files in Adobe Premiere pro cs5 I cannot afford to upgrade at this moment. What are the alternatives? Should I export from Redcine X? If so what are the settings that I should follow to edit in cs5? I would be editing at 1080.