Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design clarification on Asynchronous Webservice operations?

 
Ravi C Kota
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In the Ivan's notes, I was reading through the Asynchronous way of WS (not the client invocation) where a JMS is introduced between Interaction and processing layer. Based on my understanding, I'm framing up some examples below. Could some one validate my understanding ?

Aysnchronous way using Polling

Assume that my client application placed an order in Amazon and is returned with an orderid, after placing the order my client continues to proceed with its process, meanwhile the service places the request in queue and subsequently it is processed. After some time, my client tries to check the status of the order, based on the orderid it received. Client is not necessarily to be up and running while, service is processing the order request.

Can the above usecase, be considered as Asynchronous way using polling.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Ravi C Kota wrote:
Can the above usecase, be considered as Asynchronous way using polling.

Yes.
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree and Asynchronous Web Services explains it a bit.

Asynchronous I/O exlains it in the context of OS I/O.

Regards,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic