Re: [Dev] Jax-rs Web Service and Web Socket integration

2015-07-05 Thread Sabra Ossen
Hi Kasun, Thanks for the clarification and the samples. Regards. On Sat, Jul 4, 2015 at 1:04 AM, KasunG Gajasinghe kas...@wso2.com wrote: Hi, One thing to understand is that WebSocket does not need a browser to function. You can directly invoke a websocket endpoint through your JAX-RS

[Dev] Jax-rs Web Service and Web Socket integration

2015-07-03 Thread Sabra Ossen
Hi All, I am a newbie but was able to create a basic jax-rs web service and a simple chat application based on web sockets. My requirement is to create a curl client through which I can push data to a browser which has web sockets enabled (the simple chat application [1] implemented with a curl

Re: [Dev] Jax-rs Web Service and Web Socket integration

2015-07-03 Thread KasunG Gajasinghe
Hi, One thing to understand is that WebSocket does not need a browser to function. You can directly invoke a websocket endpoint through your JAX-RS service. There are Java WebSocket clients available that can do this. Checkout Tyrus [1]. You can also refer the AS websocket test cases for a