Thanks Oleg, did you have the opportunity to play with it ? According to this: - http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/
=> Requires Java 7, although I think this should not be a blocker as Java 6 will be in EOL within a couple of months. Only supporting WebSocket version 13 (RFC-6455) , from to what I understand, this should be fine as it seems it's the last version ? What is fine is that it should support JSR-356 Anyway, there seems to be a lot of projects: - http://java.net/projects/websocket-spec/lists/users/archive/2012-04/message/2 AHC seems to provide some portability and can use netty (which has a good reputation) as underlying impl: - http://jfarcand.wordpress.com/2012/05/28/writing-portable-websockets-application-using-java/ - http://sonatype.github.com/async-http-client/providers.html sebb, regarding the implementation in JMeter as it is async, we should try to make it maybe better than JMS part as if we do it the same it will require a lot of Threads. Regards Philippe On Sun, Jan 6, 2013 at 2:39 PM, Oleg Kalnichevski <[email protected]> wrote: > On Sun, 2013-01-06 at 14:24 +0100, Philippe Mouawad wrote: > > Hello sebb, > > > > In their FAQ they say: > > > > *Q:* Can I use jWebSockets also for clients other than browsers? *A:* > Yes, > > the jWebSocket technology is not limited to browser clients. We will > > provide a Java WebSocket client soon. > > Also see: > > > > - > > > http://technology.amis.nl/2012/01/15/stand-alone-java-client-for-jwebsocket-server-communicating-from-java-client-to-web-clients-and-vice-versa-over-websockets/ > > > > > > There is an alternative with this one under Apache 2 license: > > > > - http://sonatype.github.com/async-http-client/project-info.html > > > > > > I personally think Jetty should have the best websocket implementation, > including client side, at this point. This is what I would advise going > with. > > > http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/websocket/WebSocketClient.html > http://webtide.intalio.com/2011/09/jetty-websocket-client-api-updated/ > > Oleg > > > Regards > > > > Philippe > > On Sun, Jan 6, 2013 at 1:03 AM, sebb <[email protected]> wrote: > > > > > On 5 January 2013 23:50, Philippe Mouawad <[email protected]> > > > wrote: > > > > Hello, > > > > > > > > Shouldn't we start implementing something for Websockets ? > > > > > > > > I looked at it and this one seems interesting but license may be an > > > issue: > > > > > > It is an issue. > > > Also the code seems to be written in JavaScript rather than Java? > > > > > > > - http://jwebsocket.org/ > > > > > > > > Does httpcomponents have something around that ? > > > > > > I believe Tomcat are implementing the server side. > > > Maybe there is some code there that could be useful for a client > > > implementation. > > > > > > == > > > > > > The protocol is asynchronous, so does not fit well with JMeter. > > > We could perhaps treat it similarly to JMS Subscriber. > > > > > > > Regards > > > > Philippe > > > > > > > > > > > > -- > > > > Cordialement. > > > > Philippe Mouawad. > > > > > > > > > > > > -- Cordialement. Philippe Mouawad.
