How do I use Comet with Spring MVC?

后端 未结 2 736
别跟我提以往
别跟我提以往 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:20

    Try ItsNat Comet, Spring can be used for setting up your application (contact with me if you don't know how you do so) but Spring MVC is not used.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题