<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 5:06 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think we can do both with priority to 1.<div>As mentioned in my email about SPS and Vertx your server implementation can easily be used as library because you isolated all the netty code into a package.</div>
</div></blockquote><div><br></div><div><br></div><div style>That would be my vote as well.</div><div style><br></div><div style>* Get the SockJS &quot;wrapper&quot; up and running</div><div style>=&gt; that way, I think, we will have fast results, also on the JS side of the things</div>
<div style>* Work on Netty-based SockJS codec</div><div style>* use our own, once the codec is ready (which COULD :) mean the wrapper was just a temporary solution</div><div style><br></div><div style>-Matthias</div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Mon, May 27, 2013 at 4:59 PM, Daniel Bevenius <span dir="ltr">&lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi, <div><br></div><div>I&#39;ve been working on adding support for Sockjs to the SimplePush server. There is a project named socksj-netty [1] which is an external project written for Netty 3.x. </div>

<div>We are using Netty 4 and there have been quite a few changes between these two versions. I&#39;ve spent some time already trying to upgrade to Netty 4 but I have not been completely successful. Testing has been hard as there is only an external test suite [2], so it&#39;s been a matter of getting the code base to compile and trying to change as little as possible to work with Netty 4. </div>


<div>Perhaps due to my lack of understanding the sockjs-protocol I&#39;ve found this to be somewhat of guess work. There are also parts of the sockjs-protocol that I&#39;m not sure are implemented, like heartbeats. </div>


<div><br></div><div>I&#39;m now considering rewriting the sockjs-netty and use the &quot;Netty 4 way&quot;. This will take some time which was not planned for. </div><div>Another option that Matthias brought up was to instead use Vert.x. It was discussed previously what we should base our implementation on and I got the impression that we &quot;should&quot; stick with Netty. I&#39;ve been very happy with Netty and would like to continue with it, but this might be that I&#39;m more familiar with it compared to Vert.x.</div>


<div><br></div><div>So I&#39;d like to hear what people think:</div><div>1. Implement Netty Sockjs</div><div>2. Switch to Vert.x instead </div><div><br></div><div>thanks,</div><div><br>
</div><div>/Dan</div><div><br></div><div>[1] <a href="https://github.com/cgbystrom/sockjs-netty" target="_blank">https://github.com/cgbystrom/sockjs-netty</a></div><div>[2] <a href="https://github.com/sockjs/sockjs-protocol" target="_blank">https://github.com/sockjs/sockjs-protocol</a></div>


</div>
<br></div></div>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>