How would I create an asynchronous notification system using RESTful web services?

前端 未结 4 1859
伪装坚强ぢ
伪装坚强ぢ 2021-02-04 03:59

I have a Java application which I make available via RESTful web services. I want to create a mechanism so clients can register for notifications of events. The rub is that th

4条回答
  •  情书的邮戳
    2021-02-04 04:33

    If polling is not acceptable I would consider using web-sockets (e.g. see here). Though to be honest I like the idea suggested by user189423 of multipart content-type or chunked transfer-encoding as well.

提交回复
热议问题