How do I use Comet with Spring MVC?

后端 未结 2 738
别跟我提以往
别跟我提以往 2021-02-01 01:34

I\'d like to add some Comet/server push capabilities to a simple web application. I\'m having trouble finding up to date information on how to do this.

Can anyone point

2条回答
  •  再見小時候
    2021-02-01 02:25

    Atmosphere is really the best I've seen (I haven't used any, but I've evaluated multiple solutions). The good thing with it is that it uses the best mechanism available. If running on servlet 3.0 - using the async support. If using jetty - using its support, and so on. It also has spring integration.

    So, perhaps you should ask a concrete question about atmosphere. See this and this related questions.

提交回复
热议问题