Does the JCA connector have a timeout mechanism

          Hi,
          does anybody know if JCA connectors has got a timeout mechanism in Weblogic 6.1?
          I don't support transactions in my JCA connector.
          My point of view is that there should be some one because
          if I do a call from the SessionBean and the connection of the
          EIS hangs, the ejb blocks.
          Thanks
          Andre
          

Hi Andre,
          in addition to add,
          Once you initiated the request/process, how much time to wait to get the
          result. If you are working with any EAI middleware vendors and developing
          adapters/connectors, then the timeout implementation and setting also be
          provided by them. so that you can directly use like below, the "execute"
          method in the implementation class of Interaction .
          This is a sample
          public boolean execute(InteractionSpec ispec, Record input, Record output)
          throws ResourceException
          //the below statement will do some process in the method "sendRequest",
          it may do some
          //repetitive process to get some values from your EIS and wait until
          the specified timeout
          //mentioned.
          m_connection.sendRequest(input, ispec.getExecutionTimeout());
          If you are not depends on any EAI vendor, Or if the API what you will use to
          connect EIS system and execute some thing and get result from EIS, if they
          are not providing a kind of waiting for some time to get result, then you
          may need to implement your own Timer Thread in the connector to wait for the
          specified timeout.
          Thanks
          Kumar
          "Björn Hamrin" <[email protected]> wrote in message
          news:[email protected]...
          > Andre Genser wrote:
          >
          > > Hi Björn,
          > >
          > > that means that I have to implement a Workerthread that is controlled
          > > by its father
          > > thread (SessionBean) context.
          > > Perhaps I should use the java.util.Timer but in my point of view there
          > > is a conflict
          > > because in ejb I may not start threads
          > > and I invoke the JCA connector inside an ejb.
          > >
          > > Andre
          >
          > You are of course right. A bean should not start a thread. This is
          > because resource management should be left to the EJB server. However
          > there might not be any other reasonable way to implement a timeout. As
          > long as you make sure that there is no more than one extra thread
          > started for the connector, not one per connection, you should be
          > alright. I have an extra background thread running in my connector with
          > no harmful effects.
          >
          > /Björn
          >
          

Similar Messages

  • Does the Ipod connectors work with ZEN Visio

    does the Ipod connectors like the auto chargers work with the ZEN Vision M also the Ipod portable speaker systems.

    no i dont think so, although the connectors look similar, they aren't exactly the same

  • Does the Flashback malware have an effect on OS X systems without java installed?

    Does the Flashback malware have an effect on OS X systems without java installed? Just asking since i do not have java installed...

    It's not likely, but better safe than sorry. See
    Helpful Links Regarding Flashback Trojan
    Visit Thomas Reed's site for insight and help: Mac Malware Guide
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started. However, be careful about what you do as new variants of the malware circumvent the efforts of earlier tools.
    Also see Apple's article About Flashback malware.
    Apple has released Java updates for Snow Leopard and Lion users:
    Java for OS X Lion 2012-003; available only for users of Lion with Java installed.
    Java for Mac OS X 10.6 Update 8; available only for users of Snow Leopard.
    Flashback malware removal tool; available only for users of Lion without Java installed.
    Install whichever shows up in Software Update. It removes the malware (if present), updates Java (if present) and tightens up Java settings for the future.  You may download from Apple's web site instead of using Software Update, but it's important to know which one to get, because the other two won't work for you.
    For the truly paranoid see 10 Simple Tips for Boosting The Security Of Your Mac.

  • Does the Macbook Pro have a program to run Windows? If not, what is the best program to do so?

    Does the Macbook Pro have a program to run Windows built in? If not, what is the best program to do so. Purchasing a new Mac.

    No. The Mac does not have anything to run Windows
    You must install either virtualizrion software or use BootCamp to create a partition for Windows. Once you have done that then you must install Windows.
    Allan

  • Does the mini ipad have parent controls?

    Does the mini ipad have parent controls?

    It has Restrictions.
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf

  • Does the macbook pro have a dvd player?

    Does the macbook pro have a built-in dvd player?

    This is the only new MBP you can purchase with an integral DVD drive at this time:
    http://store.apple.com/us/buy-mac/macbook-pro?product=MD101LL/A&step=config
    A retina MBP will require an external DVD drive.
    Ciao.

  • Does the iPhone 4S have a shutter on the camera?

    A month or so back my iPhone camera had something half blocking the lens. I was just wondering, is this the camera shutter? Or does the iPhone even have a shutter?

    It has a virtual shutter... but there is nothing physical other than a case or possibly your finger to block the lens.

  • Does the iphone 4s have voice assisted gps navigation system when ion is downloaded to the phone?

      does the iphone 4s have a voice assisted gps system when io6 is downloaded onto the phone?

    The iPhone has NEVER had an International Warranty. The warranty terms state, quite clearly, that Apple "may" restrict warranty & support to the country of original purchase. The only exception, are iPhones purchased in the EU, where the iPhone warranty is EU wide.
    You purchase an iPhone in Singapore, & you will have to return it to Singapore for all warranty & support issues.
    For iPhones out of warranty, Apple has an out of warranty replacement program.

  • Does the iphone 4s have a chip

    does the iphone 4s have a chip

    If you are asking about a SIM card: Yes.
    If you are asking about a flash memory expansion slot: No.

  • Does the iPhone 4s have a tele coil and an m4/t4 rating?

    Does the iPhone 4s have a tele coil and an m4/t4 rating?

    http://support.apple.com/kb/HT4526

  • Does the Iphone 4s have an AZERTY-keyboard in Belgium?

    Does the Iphone 4S have an AZERTY-keyboard in Belgium?

    If you select French under Settings>General>Keyboard>International Keyboards, you can select: AZERTY, QWERTY or QWERTZ, with AZERTY being default.

  • Does the iphone 5 have gorilla glass?

    does the iphone 5 have gorilla glass?

    Apple has not said what the screen is made of nor the vendor of the material. Most likely it is a an aluminosilicate glass from some vendor, but whether it's from Corning or some other glassmaker is unknown.
    Regards.

  • Does the iPhone 5 have Flash

    Does the iPhone 5 Have Flash?

    The Puffin browser, available in the app store for a few bucks runs flash via a workaround.  You can get a free trial version which will run flash for 14 days so you can see if it does what you need.  A side benefit of Puffin, is that it displays full web sites, not the mobile web sites.  This is very useful for some purposes such as banking options not available on mobile.  I got it for a trip I was taking, and still use it from time to time when a site doesn't display properly on Safari.

  • Does the iPhone 5 have message access profile

    Does the iPhone 5 have MAP message access profile?

    Not sure; I haven't seen any documentation on it but I assume it would work for the 3GS or higher.  (Doesn't look like this has been updated to include the MAP feature: http://support.apple.com/kb/HT3647.)

  • HT4528 Does the iphone 4 have a sim card tray, and if so where is it.

    Does the iphone 4 have a sim card tray, and if so where

    I you have an iPhone you have it ALL!
    OK I think I can help you on this one, I think there is a missconception on the terminology, if the iPhone is from AT&T it does have a SIM card tray, you will find it on the left side of the iPhone. All you need is the key insert it in the little hole and it pops out.
    If the iPhone 4 is from Verizon it DOES NOT have a sim card tray.
    What the sales person told your sister is accurate, the iPhone does not have a slot for an SD card which is an "storage" card mainly used to store all sorts of data such as pictures, videos and more.
    Locally the iphone has lots of storage capacity so your sister wont have the necesity of ever expanding her cellphone memory for the very reason of that she has the best cellular device in the market which is an IPHONE!
    I don't think she will ever fill up her iphone's memory.
    Here is what I found in effort to expand the differences between the SD card and SIM card
    -Secure Digital (SD) is a non-volatile memory card format developed by Panasonic, SanDisk, and Toshiba for use in portable devices to store data.
    -A subscriber identity module or subscriber identification module (SIM) is an integrated circuit that securely stores the international mobile subscriber identity (IMSI) and the related key used to identify and authenticate subscribers on mobile telephony devices (such as mobile phones andcomputers).
    I hope this helps your sister.

Maybe you are looking for