I am not sure how hard your requirements are on websockets. I’ve got very good 
experiences with the Server Sent Events. They are trivially to implement with a 
Servlet and extremely well supported in the browser.

In OSGi enRoute they are part of the core API & distribution. It uses Event 
Admin to broadcast messages to the browser. It is describes in  
http://enroute.osgi.org/services/osgi.enroute.easse.html 
<http://enroute.osgi.org/services/osgi.enroute.easse.html> and you can look at 
an example in 
https://github.com/osgi/osgi.enroute.examples/tree/master/osgi.enroute.examples.scheduler.application
 
<https://github.com/osgi/osgi.enroute.examples/tree/master/osgi.enroute.examples.scheduler.application>
 (most examples in this repo use the Server Sent Events to update the GUI in 
real time).

Kind regards,

        Peter Kriens


> On 25 okt. 2015, at 16:38, Alexander Broekhuis <a.broekh...@gmail.com> wrote:
> 
> Hi,
> 
> If you pull Paul's repo [1], you get a complete BndTools workspace,
> including all dependencies. Inside the projects there are also bndrun files
> to run the demo [2]. You can also use those files to see what dependencies
> are used.
> 
> Hth!
> 
> 
> [1]: https://github.com/paulbakker/osgi-websockets-examples
> [2]:
> https://github.com/paulbakker/osgi-websockets-examples/blob/master/jetty-websockets/demo.bndrun
> 
> 2015-10-24 4:41 GMT+02:00 factor3 <rbro...@bluebottle.com>:
> 
>> I have been looking at your Websocket examples with great interest. I would
>> lie to run them in my own Felix container. One problem, though: what are
>> the
>> dependent bundles necessary to run these examples, and where do I find
>> them?
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://apache-felix.18485.x6.nabble.com/WebSockets-usage-tp5012240p5015251.html
>> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> For additional commands, e-mail: users-h...@felix.apache.org
>> 
>> 
> 
> 
> -- 
> Met vriendelijke groet,
> 
> Alexander Broekhuis

Reply via email to