File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1164
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?
 
Similar Threads
Question on Asynchronous web service call using document style.
Invoking a web service asynchronously
JAX-WS Async call
Question about Invoking a Web Service Asynchronously
Asynchronous call in the Server side?.,