how to trigger notification from other framework in atmosphere (comet)?

前端 未结 1 539
Happy的楠姐
Happy的楠姐 2021-02-11 07:52

basically i have read some samples, but all are self contained in one servlet. such as: use doGet to establish the long polling connection, and then use doPost to trigger the ev

1条回答
  •  花落未央
    2021-02-11 08:13

    But what about non web components (EJB, JMS, Akka/Scala Actor, etc.) or web component with different scope (another web application, another Servlet, etc.)? They can also generate server sides events by using Atmosphere’s BroadcasterFactory

    http://jfarcand.wordpress.com/2010/06/18/trick-of-the-friday-1-delivering-server-side-events-to-your-websocketcomet-application/

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