• 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

JAX-WS async service

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I understand that async invocation can be used on the client side but is there something on the server side as well? JAX-RS 2.0 introduced a truly async server side capability, wondering if JAX-WS has something similar.
 
a sarkar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To answer my own question, there doesn't seem to be direct support for async service. The service may provide a special method for polling or if the client itself is a Web Service, can callback on a replyTo address.
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to get an idea with some nice pictures: Oracle Async Web Services.

Regards,
Frits
 
a sarkar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Frits Walraven wrote:Just to get an idea with some nice pictures: Oracle Async Web Services.


I read that. Seems that there is no 1st class support for server side asynchrony; I mean, calling back to a client who itself is a Web Service doesn't seem like 1st class support to me. Thing is, when the client makes an async call, the server will still be busy working on it. Even though the client returns immediately from a non-blocking call, it doesn't reduce the load on the server side.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

a sarkar wrote:
I read that. Seems that there is no 1st class support for server side asynchrony; I mean, calling back to a client who itself is a Web Service doesn't seem like 1st class support to me. Thing is, when the client makes an async call, the server will still be busy working in it. Even though the client returns immediately from a non-blocking call, it doesn't reduce the load on the server side.


Agree, it doesn't look like the best support, but when using MDB's at least the load on the server side is handled well. Additional MDB's are pulled in (or pooled in ) when needed.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic