Hi ant, Thanks for your response. I have a question regarding the execution of this statement in file OrderServiceClient.java orderService.placeOrder(oRequest); // ...the client code can continue to do processing I did not see any thread usage here and was wondering how the above executtion returns to the client immediately. In which thread context does the callack execute? Thanks, Shiva
________________________________ From: ant elder [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 3:36 AM To: [email protected] Cc: Balasubramanyam, Shivakumar Subject: Re: Example of asynchronous programming using Callback There are a few samples the show using callbacks in the Tuscany samples folder, look for the ones with "callback" in the name. The most recently added is one using the jms binding: http://svn.apache.org/repos/asf/tuscany/java/sca/samples/callbacks-jms, which is based on an INFOQ article about SCA asynchronous programming, see the sample README for details. ...ant On 7/16/08, Balasubramanyam, Shivakumar <[EMAIL PROTECTED]> wrote: Hi, I would like to know if there is any example that demonstates a asynchronous programming of a service. I would also like to know if there is any documentation of the threading model used by Java SCA Runtime. Thanks, Shiva
