• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS async service

 
a sarkar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2267
76
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • 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
  • 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
Saloon Keeper
Pie
Posts: 2267
76
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic