• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why is the term asynchronous web service used because web services are always asynchronous only?

 
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read the term asynchronous web services. I do not understand why is this term asynchronous web service used because web services are always asynchronous only?

thanks
 
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not able to understand your question .. may there is a typo error there ...
Web Services can be synchronous or asynchronous.
Synchronous WS follows normal request - response model where client makes a request to Server and then waits till Server return response back in Client.
Asynchronous WS do not follow normal request - response model. Here, client makes a request to Server and then continue to work on next work. After a while , Server response back to Client with it's Response.

Asynchronous WS can use polling or callback mechanism to receive response back from Server.

You might think that this Asynchronous Web service closely similar to JMS Queues. Difference is Asynchronous Web service deals more with Transport layer (how messages are transport from Client to serve and vice-versa) where JMS system is full fledged messaging system which manages messages are application layer of TCP IP.

~ abhay
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Excellent answer. Enjoy your new shiny cow.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne



 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is another link from Coderanch where in I have presented an example of Asynchronous web service call

https://coderanch.com/t/625876/Web-Services/java/Making-Asynchronous-Web-Service-Calls#2864064
 
Monica Shiralkar
Ranch Hand
Posts: 2925
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes there was a typing mistake too. I thought all web services are synchronous only but now let me explore the asychronous web services and its difference with JMS.

Thanks
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic