Idempotent and Non-idempotent activites

Can you give me the examples for Idempotent and Non-Idempotent activities in BPEL also describe them in brief.
Send to my mail id - [email protected]
Regards,
Hrushi.

Activities which can be retried are called idempotent activities. Examples are : assign activity, invoke activity etc. So if the BPEL process is recovered from the dehydration store , then these activities are retried again (idempotent activities are not stored in dehydration store if there is no dehydration activity like checkpoint() ) . Non idempotent activities are those which causes the BPEL process to dehydration and so there state is saved into dehydration store. If the BPEL process is recovered from the dehydration store, these activities are not retried . Examples are : wait activity, mid point receive activity, pick activity , checkpoint() etc.
So when you specify the idempotent property as "false" in the partner link of a BPEL process , this becomes non idempotent and cause the BPEL process for dehydration and so a commit occurs . This is another way of ending the current transaction of a BPEL process and start a new one.
Hope this helps.

Similar Messages

  • ContinuousQueryCache and non-idempotent Filters

    From the documentation I read on the ContinuousQueryCache, I assume that it works in two stages. First, it runs the distributed query based on the given Filter and caches the results. Second, it registers MapListeners that update the query result whenever an underlying cache INSERT, DELETE or UPDATE occurs. This will work fine with idempotent Filter implementations. But this may fail if underlying Filter is allowed to produce different results over time.
    To give a concrete example. I would like my cached values to have a Publish Time. My NamedCache would have all values in it. And my Filter would check whether System.currentTimeMillis()>value.getPublishTimeMillis(). I would expect my ContinuousQueryCache to show the values whose Publish Time has arrived reasonably soon after the Publish Time.
    Naturally, there may be no UPDATE events that would trigger the Filter to be re-applied as soon as the Publish Time arrives. So, the values would not appear in my ContinuousQueryCache.
    One workaround I can think of is to have a refresh() method in my ContinuousQueryCache that I could run on a scheduled basis from a separate thread. Such refresh() method would rerun the underlying distributed query.
    Is there such capability? Or is there a better way people typically handle Publish Time? (I realize that I could put a dummy value in cache which would expire at Publish Time and then expect the cache to retrieve the real value via a CacheLoader. But for many reasons, I do not like this approach.)

    We are JDK 1.4.2, so no AtomicReferences here :o) But
    I get your point.
    It is available for 1.4.2 as a separate JAR file, AFAIK.
    Look at http://g.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
    In my opinion, CQC would still be preferable because
    it uses events to attempt to keep the query result up
    to date. This will allow me to run query *less
    frequently* than I would have to in your solution.I don't see why. The events will in no case will mirror the passing of time, therefore you will need to rerun the query to get entries which became of age since the last running of the query.
    This is keeping in mind that my Filter may be more
    complex than just by Publish Time. There may be many
    other additional complex conditions.If they can be indexed, that might even help if it reduces the result set size significantly.
    >
    So, do you think there's a way to rerun the
    underlying query ad hoc?
    I don't know of one, if it is not in the Javadoc, as the intentional purpose of the CQC is exactly not having to rerun that query. However this does not mean that there is not one.
    Best regards,
    Robert

  • What is non-idempotent?

    What is non-idempotent?

    Hi,
    Just to illustrate... Let's say you have two methods... int sumOfTwoNumbers(int n1, int n2)... and int addToGrandTotal(int n2)...
    sumOfTwoNumbers will be idempotent, you can pass the same numbers as many times as you want and it will give you always the same result...
    addToGrandTotal is non-idempotent as it is adding a value to a grand total that's internal to the class, if called twice it will probably return different results... and alter the internal class value as well...
    The concept is important in SOA, because idempotent operations are safer than non-idempotent operations... You can always safely resubmit a message to an idempotent operation, on the other hand you will need to perform every possible check in order to avoid double-submission for non-idempotent operations...
    Cheers,
    Vlad

  • Difference between deamons and non deamons

    Pls someone tell me wat is the difference between deamons and non demons and i know that deamons will run in the background..and pls tell me why they r used...

    Actually it's "daemon" (mythologically speaking a little more benign than demons).
    A Java program terminates when every non-daemon thread finsihes. Setting a thread to daemon mode simply says that it's ignored for this purpose. It's usually used with background activities that can be abandoned at the end of the program without any need to clean up.
    (More widely, in unix, a daemon program is one that runs in the background all the time, from when you boot up the machine to when you close it down.)

  • How do i know for sure if someone is accessing my phone and viewing my activities which i think are private

    how do i know for sure if someone is accessing my phone and viewing my activities which i think are private

    Why do you think this?
    There are no tracking software for a non jailbroken phone.
    do you share an apple id with someone?

  • SSO for SAP and Non-SAP applications without Enterprise Portal

    Dear all,
    Is it possible to implement SSO for both SAP and non-SAP applications without involvement of EP at all?
    I have gone through this link.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/e5/4344b6d24a05408ca4faa94554e851/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/e5/4344b6d24a05408ca4faa94554e851/frameset.htm</a>
    But I still i am not able to get the precise answer on how to enable SSO for both  SAP and non-SAP applications without EP.
    We have decided not to implement EP in first phase of SAP implementation. But we need to enable SSO for other SAP and Non-SAP applications.
    A detailed description on how to deal this kind of scenarios will be helpful.
    Thanks.

    A client of our's uses <b>SAP Enterprise Portal</b>, and is using the SAP SSO, which is implemented with tickets, and requires the use of SAPSECULIB.  My company provides an application for this client, and our application in hosted in our data center for the client, as a Software as a Service application, obviously across the internet.  Our client, which owns a SAP license, has asked that we support the SAP SSO as a non-SAP SSO application.  The client user's SSO ticket will be created from SAP EP, and then passed across the internet to our application, and we are to use that SSO ticket as an authentication ticket to our application.  I beleive I know how to do this work technically, having reviewed the SAP document named: "Dynamic Library for Verifying SSO Tickets in Third-Party Software"   Specification   Version 2.00  December 2005.
    My question is, does my company have the right to use the SAPSECULIB?  Where is the official download and <b>license</b> download, that indicates we can download this library, and use it to support a SAP customer?  We do not own a SAP license.  Thank you for your help.  I have searched many places in SAP support.<b></b>

  • OWSM 10.1.3.4 and Non-SOAP XML-based web service

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • When playing games on my iPod touch.  Some are stutters and non responsive

    Trying to play games on my iPod touch and they are slow, stuttery and non responsive. iPod software is up to date

    Do the games require an internet connection? If so then maybe slow connection.
    otherwise:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • My yahoo e-mail not pushing to iPhone4, again.  Had this same problem in October for several weeks.  My kids and husband have 3 other types of smart phones, and none of them are experiencing this problems.  This has been going on for 2 weeks so far.

    My yahoo e-mail is not pushing to my iPhone4, again.  Had this same problem for several weeks in October/November 2011.  It's been a problem again for two weeks now.  My kids and husband have three other types of smart phones, and none of them have had this problem.  I'm NOT impressed.  I've seen that others in the iPhone community have also been having this problem.  Is Apple doing anything about it?

    Read this: https://discussions.apple.com/message/17333604#17333604
    It's a yahoo issue. Nothing you can do on your phone to fix it.

  • Report for Excisable and Non Excisable vendor

    Hello
    Is there any Std report is there....it can give us the list of Excisable and Non excisable Vendors based on the Perticular Purchase Orgnisation.
    Regards
    sapman man

    Hi
    I do not think in SAP this kind of report is available.
    what you can do , if your vendor master has different  accounting group for Excisable and Non excisable vendor then you can check in standard table of vendor master like LFA1  and LFM1 or create Z report or Query.
    Awaiting your feedback.
    Kishor Rudani

  • Connect b/w SAP and Non SAP -system

    Hi All,
    I have a requirement where i need to connect between a SAP system and Non-Sap System.
    the front end is an E-Build tool (for construction Industry) from where the user will pick the data and the data should get store at the backend i.e in the SAP system.
    E-build is a tool for construction industry with lots of flexible options for the user to check for their house, along with their prices.
    These all data needs to be captured and store at the backend.
    Can any one suggest me which method shall i go for this in ABAP(and How)  or need to go for the XI-Netweaver or EP technology.
    Thanks & Regards
    Mona

    you better to go for middleware tools .  keep files( whichs contains data to be stored in SAP)  in one folder at 3p systems  and  middleware adapters will pick that filles automatically and sent it to Application server or then process the data into SAP.
    tks.. venkat

  • Difference between Valuated and Non valuated Sale order stock

    Hi All,
    Can anybody tell me the difference between the above said subject with the steps involved in each scenario.
    That is valuated sale order stock and Non valuated sale order stock in Product cost by Sale Order.
    With Journal entries at each step and whether any WIP or variances at Production order level and sale order level and all the financial entries related to them
    Thanks in Advance,
    Ravi Kumar

    Hi Shail,
    Thans for your inputs,
    But I wanted to know it in more detail. In what scenarios they are used with financial entries in both the cases.
    I will give you my scenario. It goes like this,
    My client is in pipe coating business, who receives pipes from customers and does only coating work(which is considered as service) and despatches it to the customer. this process is carried on the basis of work order(Sale order).
    Now Production order is created and work is done on that with reference to Sale order for that particular customer.
    So the pipe which my client receives should be non valuated stock as it will not be a raw material to them and the cost incurred on it is booked on production order like chemicals as raw material consumption, activity cost etc.
    now in this scenario just tell me how and at which stage FI entries get generated at Production order and Sale order level, and also at wat level Standard cost estimate should be created i,e at production order level or sale order level(sale order cost estimate).
    Will there be any entries at goods isssue and GR against production order. If no then how the COGM account will get hit.
    Please tell me this scenario in both cases Valuated sale order stock and Non valuated sale order stock with financial entries in Sale order costing.
    Thanks & Regards,
    Ravi Kumar

  • My Firefox crashes every time I open it and none of the steps in the database solve the problem. My crash signature is PaintFrame(nsIRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int)

    I tried opening it in safe mode and none of the other help tips in the database on firefox crashes when I open it apply to me. I also ran a couple of virus programs to check for any infections and found nothing. I had been having issues with java previous to firefox beginning to crash. So I attempted to uninstall java from my computer but it did not help.
    My crash signature is PaintFrame(nsIRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) and a search of this term on Mozilla Support pulled up no results.
    I'm not terribly knowledgeable with programming so any suggestions would help!

    I read online about a "clean reinstall" of firefox which seems to have worked! They should include direction on this on their page: https://support.mozilla.com/en-US/kb/Firefox+crashes+when+you+open+it

  • I have a 3rd generation ipod that will not connect. I keep getting an error message that says "USB Device Not Recognized".  I have tried 3 seperate cables and none of them are working.  Please help!

    It keeps telling me that one of the USB devices for this computer has malfunctioned and windows does not recognize it.  I have tried all of the ports and still am not having any luck.  I have purchased 3 brand new cables and none of them are working.  I have tried to update the driver but it says I am using the most up to date.  I have tried to reset the Ipod by holding the center button and menu button until the apple appears.  I am not sure what else to try.  Any help would be greatly appreciated.  My computer is Windows Vista!

    Hello butterflygirlie,
    Have you tried uninstalling the driver for your iPod from within Device Manager?  After uninstalling it, go ahead and unplug your iPod and plug it back in.  Doing so should cause your system to locate the proper driver for it.
    B-rock

Maybe you are looking for

  • Workbook works fine in discoverer plus but shows error in discoverer viewer

    Hi, I have some issues with the parameter of a report. one of the parameters is mgr_id (eg: 1,2,3) -- from database table. manager names are not available in the database but they are known to users like 1 - david 2 - alan chris 3 - peter so the requ

  • Check for available downloads did not download my library

    i requested to transfer my itunes playlist which is quite considerable, when i requested to reload my puchases from the itunes store a list of songs appeared but i am unable to play them, nor see or hear my tv, movie files because they were never ori

  • Successor of the Nokia Asha 311

    I have an Asha 311 and though it's a nice phone (besides the problems like missing mutlitasking, copy/paste etc) I think the biggest problem is the tiny screen. Even for a feature phone, a Fulltouch-phone should have a display, which is at least 3.5

  • Hints on this Interview Question?

    Hints on this Interview Question? If after a failed BW interview, the interviewer hints to me, “getting another 2 to 3 full implementations under your belt in a R/3 environment” 1. What do you really think she is referring to? Since this was for a BW

  • Abap related to bw

    hi to all, i want to know the information abt abap related with bw, where abap used in bw,y it  is used in bw.. n giv material related to dat.. plz giv me reply asap.. thanks regards satya