473,651 Members | 3,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Asynchronous Transfer of Control in SOA (Web Service)

Hi,

I was reading about asynchronous transfer of control in Real Time Java
Specification.

I am wondering if there is any way we can do similar thing with Web Services
in Service Oriented Architecture.

Please let me know your opinion.

Regards,
Kaushal Mehta
Feb 14 '08 #1
4 1418
"Kaushal Mehta" <Ka**********@d iscussions.micr osoft.comwrote in message
news:48******** *************** ***********@mic rosoft.com...
Hi,

I was reading about asynchronous transfer of control in Real Time Java
Specification.

I am wondering if there is any way we can do similar thing with Web
Services
in Service Oriented Architecture.

Please let me know your opinion.
Since I don't know what "asynchrono us transfer of control" is, I can't tell
why you would want to use it in an SOA. Perhaps you could tell us why you
want to use it in an SOA.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Feb 14 '08 #2
Hi John,

I was considering following scenario

I have some time consuming math function that tries to converge the
calculation as web service at server. There is client web service that wants
to use this calculation function but wants the approx result calculated after
10sec.

So, what I want is the client service should start timer for 10 sec and call
the server service to perform calculation. But after 10 sec, it should
interrupt the calculation at the server side and get back the converged
result to the client.

I have not seen any such example with .Net SOA Framework.

Could you please let me know if this kind of scenario could be possible ?

Let me know if you need any further information.

Regards,
Kaushal Mehta.

"John Saunders [MVP]" wrote:
"Kaushal Mehta" <Ka**********@d iscussions.micr osoft.comwrote in message
news:48******** *************** ***********@mic rosoft.com...
Hi,

I was reading about asynchronous transfer of control in Real Time Java
Specification.

I am wondering if there is any way we can do similar thing with Web
Services
in Service Oriented Architecture.

Please let me know your opinion.

Since I don't know what "asynchrono us transfer of control" is, I can't tell
why you would want to use it in an SOA. Perhaps you could tell us why you
want to use it in an SOA.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Feb 15 '08 #3
"Kaushal Mehta" <Ka**********@d iscussions.micr osoft.comwrote in message
news:D6******** *************** ***********@mic rosoft.com...
Hi John,

I was considering following scenario

I have some time consuming math function that tries to converge the
calculation as web service at server. There is client web service that
wants
to use this calculation function but wants the approx result calculated
after
10sec.

So, what I want is the client service should start timer for 10 sec and
call
the server service to perform calculation. But after 10 sec, it should
interrupt the calculation at the server side and get back the converged
result to the client.

I have not seen any such example with .Net SOA Framework.

Could you please let me know if this kind of scenario could be possible ?

Let me know if you need any further information.
That doesn't sound like the kind of thing that web services were created
for, at all. They're not meant for any sort of interactive scenario,
instead, they are geared toward a request/response scenario.

May I ask you for some references to where this concept comes from? Since I
can't imagine why this is a good idea, I should probably defer to those with
a better imagination than mine.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Feb 15 '08 #4
"Kaushal Mehta" <Ka**********@d iscussions.micr osoft.comwrote in message
news:48******** *************** ***********@mic rosoft.com...
Hi,

I was reading about asynchronous transfer of control in Real Time Java
Specification.

I am wondering if there is any way we can do similar thing with Web
Services
in Service Oriented Architecture.
I found an article that is about the sort of thing you may be talking about.
Can you confirm that this is what you had in mind?

http://www.infoq.com/articles/async-sca

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Feb 15 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1561
by: Chris | last post by:
Hello, With asynchronous programming : Why does the callback-function (running in a worker thread) may not update the state of a control on the main-form ? The docs say that you must use a MethodInvoker instead as in following example :
0
1548
by: orekinbck | last post by:
Hi There This question is about calling an asynchronous web service from the UI thread. Unless I am making a fundamental error, it appears that the asynchronous web service call seems to spark off an Application.DoEvents() when system resources are low and the message loop has queued requests. Here are some snippets of code to describe the problem:
8
2300
by: Trotsky | last post by:
Hi I have asked a similar question on the web services discussion group, but the question is a bit more related to ASP.Net. Basically I have a ASP.Net application that calls a web service asynchronously. This is fine. My problem is that when I make a call to the web service asynchronously when I get the return which is passed into a static method I cannot reference any Web Contorls to paste the return values into from within the static method....
2
5290
by: Michael | last post by:
Hi all.. I need to submit an asynchronous request for a credit card authorization. I have an aspx page where the user confirms the transaction and clicks a button to send the transaction to the authorization provider. When the submit button is clicked, I hide the panel displaying the details and start a client-side progress bar using a literal control. This has to be an async call because if I start the request in the button click...
1
9838
by: Alexander Kaplunov | last post by:
I have two different scenarios: 1. I have an application that calls a web service and passes an object. Web Service takes that object and does some stuff with it, which could take some time. It seems to me that in this case it would be appropriate to use asynchronous web service. Am I correct?
0
2584
by: Bob Davies | last post by:
Hi I have a webservice that retrieves data from a database, this is then returned to the calling client application built in windows forms within a dataset, however upon attempting to create tablestyles to format any of the columns within the datagrid, the exception "Can-not parent objects created on one thread to objects created on another" or words to that effect. I'm not too sure if what I said make sense, but i will add details to...
1
3165
by: org | last post by:
Hi, I'm developing a web service with should be used by an .NET CF2 client and an .NET 2.0 Windows client. I've tried to put all the connection logic into one class, which could be used in common from the mobile and the windows client. But this didn't work: The new .NET framework supports asynchronous web services with the "MethodnameCompleted+=new MethodNameEventHandler pattern, but the "old style" .NET 1 pattern used in the compact...
3
1350
by: VMI | last post by:
I posted this question several days ago, but I don't think I specified what version of .Net I was using. I'm currently using VS 2005 framework 2.0. Where can I find information on asynchronous web service calls for VS 2005? I've found some articles, but they apply to VS 2003. I wrote a web service that processes a file and stores it into a db. The service takes about two minutes to run, and I want to be able to update the aspx that...
8
1728
by: Simon Gorski | last post by:
I have a large problem, and I believe there is not yet a way to solve this using IIS and ASP.NET. I hope someone has a solution which we couldn't find. The current situation When a user logs in to our website, we implement a single login for multiple services (let's call them services A-D). This means, that on the backend, while sampleuser logs in to our service with only one username and password, he is automatically logged in to...
0
8361
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8807
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8701
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8584
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1588
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.