This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Design clarification on Asynchronous Webservice operations? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Design clarification on Asynchronous Webservice operations?" Watch "Design clarification on Asynchronous Webservice operations?" New topic
Author

Design clarification on Asynchronous Webservice operations?

Ravi C Kota
Ranch Hand

Joined: Jan 29, 2008
Posts: 61
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.


Thanks & Regards, Ravi C.Kota
SCJP 5.0, OCDJWS 5.0
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Ravi C Kota wrote:
Can the above usecase, be considered as Asynchronous way using polling.

Yes.
Best wishes!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1176
I agree and Asynchronous Web Services explains it a bit.

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

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Design clarification on Asynchronous Webservice operations?