Could you please help in the following? Is there an acceptable design guideline to implement WS Notification Messaging in java? My scenario is the following: a web service client makes a web service ca开发者_Python百科ll to a web service. After that, the web service should be able to send asynchronous notifications to the web client (as a result of the first web method call). What approach should be used?
JAX-WS supports asynchronous web services and provides support for both a callback and polling model. The former model might be what you're looking for.
See also:
- Asynchronous Web Service Invocation with JAX-WS 2.0
- Invoking JAX-WS Web services asynchronously
精彩评论