vlad.balan
2018-10-29 16:34:25 UTC
Hello everybody
and thanks for reading this.
What is the best way to develop a CXF Webservice that, once a client calls
it, it can send to it several "notifications" (responses) in time:
- the client calls the service
- the server holds the connection, of course (like @Suspended with Rest)
- in 5 minutes sends a "notification"
- then another
- then another and so on.
I'd be also happy with just a simple version of this: suspension until one
notification appears and ONE reponse sent to the client and then the client
could recall the webservice again.
(i'm not loosing "events" with this because i can see on server all the
notifications that happened since the last one sent to the client)
REST has Server Sent Event and StreamingOutput. What is the equivalent for
JAXWS?
Thanks a lot.
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
and thanks for reading this.
What is the best way to develop a CXF Webservice that, once a client calls
it, it can send to it several "notifications" (responses) in time:
- the client calls the service
- the server holds the connection, of course (like @Suspended with Rest)
- in 5 minutes sends a "notification"
- then another
- then another and so on.
I'd be also happy with just a simple version of this: suspension until one
notification appears and ONE reponse sent to the client and then the client
could recall the webservice again.
(i'm not loosing "events" with this because i can see on server all the
notifications that happened since the last one sent to the client)
REST has Server Sent Event and StreamingOutput. What is the equivalent for
JAXWS?
Thanks a lot.
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html